/* ══════════════════════════════════════════════════════════
   ACCUEIL.CSS — YëreDesign
   Pill Navbar · Dark Luxury (Rafistollage) · Shared Components
   ══════════════════════════════════════════════════════════ */

/* ── PAGE BASE ───────────────────────────────────────────── */
body.page-accueil {
  background: #050505;
  color: rgba(255,255,255,0.9);
  overflow-x: hidden;
  font-family: var(--font-body);
}
body.page-boutique { background: #FAFAF8; overflow-x: hidden; }

/* ═══════════════════════════════════════════════════════════
   PILL NAVBAR (shared — accueil + boutique)
   ═══════════════════════════════════════════════════════════ */
.acc-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  pointer-events: none; /* transparent parts pass through */
}

/* ── THE PILL ─────────────────────────────────────────────── */
.acc-nav-inner {
  pointer-events: auto;
  margin: 16px auto 0;
  width: calc(100% - 48px);
  max-width: 1100px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 0 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-navbar.scrolled .acc-nav-inner {
  height: 58px;
  margin-top: 8px;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Logo */
.acc-nav-logo {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 12px;
  font-family: var(--font-display);
  transition: opacity 0.2s ease;
}
.acc-nav-logo:hover { opacity: 0.75; }
.acc-nav-universe {
  font-size: 0.65rem;
  color: #C9A96E;
  letter-spacing: 0.2em;
  font-weight: 700;
  opacity: 0.9;
  padding-left: 20px;
  height: 18px;
  display: flex;
  align-items: center;
}

/* Nav links */
.acc-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  list-style: none;
  margin: 0; padding: 0;
}

.acc-nav-item {
  position: relative;
}

.acc-nav-btn {
  padding: 8px 16px;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.acc-nav-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.acc-nav-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.acc-chevron { font-size: 0.6rem; transition: transform 0.2s ease; }
.acc-nav-btn[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }

/* ── DROPDOWN ─────────────────────────────────────────────── */
.acc-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #050505;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.acc-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.acc-dropdown-split {
  display: flex;
  min-width: 560px;
  border-radius: 20px;
  overflow: hidden;
}
.acc-menu-cats {
  flex: 0 0 220px;
  background: #0A0A0A;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
}
.acc-menu-subs-panel {
  flex: 1;
  padding: 20px 24px;
  background: #050505;
  min-height: 280px;
}
.acc-menu-empty-hint {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
  padding: 40px;
}
.acc-menu-sub-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9CA3AF;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.acc-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 2px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.acc-drop-item:hover, .acc-drop-item.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: none;
}
.acc-drop-item i { width: 16px; text-align: center; opacity: 0.6; font-size: 0.8rem; }
.acc-sub-link {
  display: block;
  padding: 8px 10px;
  margin-bottom: 2px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.acc-sub-link:hover { background: rgba(255,255,255,0.08); color: #fff; padding-left: 16px; }
.acc-sub-link i { margin-right: 6px; font-size: 0.65rem; opacity: 0.4; }

/* ── NAV ACTIONS ─────────────────────────────────────────── */
.acc-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.acc-cart-btn, .acc-signin-btn, .acc-hamburger, .acc-mode-switcher-btn {
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); color: #fff;
  transition: all 0.3s ease; cursor: pointer;
}
.acc-cart-btn, .acc-signin-btn, .acc-hamburger { width: 44px; }
.acc-mode-switcher-btn { padding: 0 16px; text-decoration: none; gap: 8px; font-weight: 600; font-size: 0.85rem; }

.acc-cart-btn:hover, .acc-signin-btn:hover, .acc-hamburger:hover, .acc-mode-switcher-btn:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--lux-gold);
}
.acc-cart-btn { position: relative; }
.acc-cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: #fff; color: #000; font-size: 0.65rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #000;
}

/* ── MOBILE MENU ─────────────────────────────────────────── */
.acc-mobile-menu {
  pointer-events: auto;
  margin: 8px auto 0;
  width: calc(100% - 48px);
  max-width: 1100px;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 12px 0 16px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.acc-mobile-menu.hidden { display: none; }

.acc-mobile-section { padding: 8px 20px; }
.acc-mobile-section-title {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px; margin-top: 8px;
}
.acc-mobile-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; color: rgba(255,255,255,0.75);
  font-size: 0.88rem; border-radius: 10px;
  text-decoration: none; transition: all 0.2s ease;
  cursor: pointer;
}
.acc-mobile-item:hover { color: #fff; background: rgba(255,255,255,0.07); }
.acc-mobile-item.main { font-weight: 600; color: #fff; }
.acc-mobile-item.sub { padding-left: 28px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* Loading state nav */
.loading-state-nav {
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER — Dark Luxury
   ═══════════════════════════════════════════════════════════ */
.acc-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: #060606;
  overflow: hidden;
  z-index: 2;
}

/* Bottom wave transition to dark content */
.acc-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 120px;
  background: #080808;
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
  z-index: 40;
  pointer-events: none;
}

/* Decorative grid */
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px);
}

/* Gold accent lines */
.hero-accent-line { position: absolute; z-index: 2; pointer-events: none; }
.hero-accent-line--left {
  top: 22%; left: 40px;
  width: 1px; height: 100px;
  background: linear-gradient(180deg, transparent, #C9A96E 50%, transparent);
  opacity: 0.4;
  animation: accentFloat 4.5s ease-in-out infinite alternate;
}
.hero-accent-line--right {
  bottom: 28%; right: 48px;
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.25) 50%, transparent);
  animation: accentFloat 5.5s ease-in-out 1s infinite alternate;
}
@keyframes accentFloat {
  0%   { transform: translateY(0); opacity: 0.25; }
  100% { transform: translateY(-18px); opacity: 0.55; }
}

/* Brand watermark */
.hero-watermark {
  position: absolute;
  bottom: -0.1em; right: 32px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  letter-spacing: 0.06em;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Slides */
.acc-slides { position: relative; width: 100%; height: 100%; }
.acc-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.acc-slide.active { opacity: 1; pointer-events: auto; z-index: 10; }

/* Background images */
.acc-slide-1 { background: url("../assets/1.png") center/cover no-repeat; }
.acc-slide-2 { background: url("../assets/2.png") center/cover no-repeat; }
.acc-slide-3 { background: url("../assets/3.png") center/cover no-repeat; }

/* Dark overlay + grain */
.acc-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.75) 100%);
}
.acc-slide-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}

/* Slide content */
.acc-slide-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 0 60px;
  width: 100%; height: 100%;
  display: flex; align-items: center;
}
.hero-content-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}
.hero-text-block { max-width: 680px; flex: 1; }

/* Tag pill */
.acc-slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 16px; border-radius: 24px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.03);
}
.tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #C9A96E; display: inline-block;
  box-shadow: 0 0 8px rgba(201,169,110,0.6);
  animation: tagPulse 2.5s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Hero title — luxury serif */
.acc-slide-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 0.85;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.title-accent { color: #fff; text-decoration: underline; text-underline-offset: 10px; display: inline; }

/* Subtitle */
.acc-slide-sub {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.58);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

/* Actions */
.acc-slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero buttons */
.btn-hero-primary {
  background: #fff; color: #000;
  padding: 16px 32px; border-radius: 2px;
  font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
}
.btn-hero-primary:hover {
  background: #eee; transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}
.btn-hero-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px 32px; border-radius: 2px;
  font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
}
.btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

/* Hero Video Background */
.hero-video-bg {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) grayscale(20%);
  transition: transform 4s ease;
}
.acc-slide.active .hero-video-bg {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Side stat box — industrial style */
.hero-side-info { flex-shrink: 0; z-index: 10; }
.hero-stat-box {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  border-right: 4px solid #C9A96E;
  padding: 12px 24px;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 400;
  color: #fff; line-height: 0.85;
  margin-bottom: 8px;
}
.hero-stat-label {
  font-size: 0.8rem; font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.25em; text-transform: uppercase;
  font-family: var(--font-display);
}

/* Staggered reveal animations */
.acc-slide.active .acc-slide-tag     { animation: heroReveal 0.7s 0.08s cubic-bezier(0.16,1,0.3,1) both; }
.acc-slide.active .acc-slide-title   { animation: heroReveal 0.7s 0.18s cubic-bezier(0.16,1,0.3,1) both; }
.acc-slide.active .acc-slide-sub     { animation: heroReveal 0.7s 0.32s cubic-bezier(0.16,1,0.3,1) both; }
.acc-slide.active .acc-slide-actions { animation: heroReveal 0.7s 0.46s cubic-bezier(0.16,1,0.3,1) both; }
.acc-slide.active .hero-side-info    { animation: heroReveal 0.8s 0.55s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.hero-progress-bar {
  position: absolute; bottom: 80px; left: 60px; right: 60px; z-index: 30;
}
.hero-progress-track {
  height: 1px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
.hero-progress-fill {
  height: 100%; width: 33.33%;
  background: linear-gradient(90deg, #C9A96E, rgba(255,255,255,0.5));
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* Bottom bar */
.hero-bottom-bar {
  position: absolute; bottom: 28px; left: 60px; right: 60px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-slide-counter {
  display: flex; align-items: baseline; gap: 4px;
  font-family: 'Cormorant Garamond', serif;
}
.hero-counter-current {
  font-size: 1.5rem; font-weight: 700; color: #fff;
  transition: all 0.3s ease;
}
.hero-counter-sep { font-size: 0.85rem; color: rgba(255,255,255,0.2); margin: 0 2px; }
.hero-counter-total { font-size: 0.85rem; color: rgba(255,255,255,0.3); font-weight: 500; }

/* Slider dots */
.acc-slider-controls { display: flex; gap: 8px; z-index: 20; }
.acc-slide-dot {
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.18); border-radius: 2px; border: none;
  cursor: pointer; transition: all 0.4s ease; padding: 0;
}
.acc-slide-dot.active { background: #C9A96E; width: 44px; box-shadow: 0 0 12px rgba(201,169,110,0.4); }
.acc-slide-dot:hover:not(.active) { background: rgba(255,255,255,0.4); }

/* Nav arrows */
.hero-nav-arrows { display: flex; gap: 8px; }
.acc-slide-prev, .acc-slide-next {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.35s ease; outline: none;
  position: relative; top: auto; left: auto; right: auto; bottom: auto; transform: none;
}
.acc-slide-prev:hover, .acc-slide-next:hover {
  background: #C9A96E; color: #080808; border-color: #C9A96E;
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
}
.acc-slide-prev:active, .acc-slide-next:active { transform: scale(0.94); }
.acc-slide-prev i, .acc-slide-next i { font-size: 0.82rem; transition: transform 0.25s ease; }
.acc-slide-prev:hover i { transform: translateX(-2px); }
.acc-slide-next:hover i { transform: translateX(2px); }

/* ═══════════════════════════════════════════════════════════
   PROCESS STEPS — Dark Luxury
   ═══════════════════════════════════════════════════════════ */
.acc-process {
  padding: 100px 24px;
  background: #000;
  position: relative;
  overflow: hidden;
}
.acc-process::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3; pointer-events: none;
}
.acc-process-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 10;
}
.acc-process-item {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  padding: 40px 30px; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 4px;
}
.acc-process-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: #C9A96E;
  transform: translateY(-8px);
}
.acc-process-count {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 400; color: #C9A96E;
  line-height: 0.8; opacity: 0.3;
  transition: all 0.5s ease;
}
.acc-process-item:hover .acc-process-count { opacity: 1; transform: scale(1.1); }
.acc-process-text { display: flex; flex-direction: column; gap: 10px; }
.acc-process-text strong {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400; text-transform: uppercase;
  color: #fff; letter-spacing: 0.02em; line-height: 1;
}
.acc-process-text span {
  font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PRESTATIONS / CATÉGORIES — Dark Luxury
   ═══════════════════════════════════════════════════════════ */
.acc-prestations {
  padding: 120px 24px;
  max-width: 1400px; margin: 0 auto;
}
.acc-section-header { text-align: left; margin-bottom: 64px; border-left: 4px solid #C9A96E; padding-left: 24px; }
.acc-section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #FFFFFF;
  line-height: 0.9;
  text-transform: uppercase;
}
.acc-section-sub {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* Category grid */
.acc-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Category card — dark luxury */
.acc-cat-card {
  background: #080808;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.acc-cat-card:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(201,169,110,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.acc-cat-icon {
  width: 50px; height: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 24px 0;
  font-size: 1.2rem; color: #fff;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.acc-cat-card:hover .acc-cat-icon {
  border-color: #C9A96E;
  color: #C9A96E;
}

.acc-cat-name {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 400;
  color: rgba(255,255,255,1);
  margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.02rem;
  line-height: 1;
}
.acc-cat-desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.5);
  line-height: 1.5; margin-bottom: 32px; min-height: 42px;
  font-family: var(--font-body);
}

.acc-cat-actions { display: flex; gap: 8px; justify-content: center; }
.acc-cat-actions-inline {
  align-items: center; justify-content: center;
  gap: 8px; margin-top: 14px; width: 100%;
}
.acc-cat-btn-single {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 32px; border-radius: 2px;
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: #fff; color: #000;
  border: none; cursor: pointer;
  transition: all 0.4s ease;
  font-family: var(--font-display);
}
.acc-cat-btn-single:hover {
  background: #C9A96E; color: #000;
  transform: translateX(4px);
}

/* Tabs */
.acc-tabs {
  display: inline-flex; gap: 4px; justify-content: center;
  background: rgba(255,255,255,0.05); border-radius: 50px; padding: 4px;
}
.acc-tab {
  padding: 8px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.45); background: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
}
.acc-tab.active, .acc-tab:hover {
  background: rgba(255,255,255,0.1); color: #fff;
}
.acc-tab.active { color: #C9A96E; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.acc-footer {
  background: #040404;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.acc-footer-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.acc-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.acc-footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 400;
  color: #fff; letter-spacing: 0.05rem; text-transform: uppercase;
}
.acc-footer-tagline {
  opacity: 0.5; font-size: 0.8rem; letter-spacing: 0.1rem;
  text-transform: uppercase; font-family: var(--font-display);
}
.acc-footer-col { display: flex; flex-direction: column; gap: 10px; }
.acc-footer-col-title {
  font-size: 0.65rem; font-weight: 700; color: #C9A96E;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.18rem;
}
.acc-footer-link {
  display: block; color: rgba(255,255,255,0.4);
  text-decoration: none; margin-bottom: 10px;
  font-size: 0.85rem; transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.acc-footer-link:hover { color: rgba(255,255,255,0.9); transform: translateX(4px); }
.acc-footer-bottom {
  max-width: 1300px; margin: 40px auto 0; padding: 32px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center; font-size: 0.7rem;
  color: rgba(255,255,255,0.2); letter-spacing: 0.1rem;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.acc-cta { background: #060606; padding: 80px 24px; }
.acc-cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.acc-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600; color: #fff; margin-bottom: 14px;
}
.acc-cta-sub { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.7; margin-bottom: 36px; }
.acc-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  padding: 12px 28px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════
   SHARED UTILITIES
   ═══════════════════════════════════════════════════════════ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.loading-state-full {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px; gap: 20px; color: rgba(255,255,255,0.4); font-weight: 500;
}
.loading-state-full i { font-size: 2rem; color: #C9A96E; }

/* Toast */
.acc-toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: var(--white);
  border-left: 3px solid #C9A96E;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-primary);
  max-width: 320px; word-wrap: break-word;
  white-space: normal; line-height: 1.4;
  animation: fadeIn 0.4s ease-out;
}

/* Mode switcher — Street Luxury upgrade */
.acc-mode-switcher-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px; border-radius: 4px;
  color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.15em;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
  font-family: var(--font-display);
}
.acc-mode-switcher-btn:hover {
  background: #fff; color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}
/* Theme-aware tools icon fix */
body.page-boutique .acc-mode-switcher-btn:not(:hover) i { color: #000; opacity: 0.6; }
body.page-accueil .acc-mode-switcher-btn:not(:hover) i  { color: #fff; opacity: 0.6; }
.acc-mode-switcher-btn i { font-size: 0.9rem; }

/* Social icons — in burger menu only */

/* ═══════════════════════════════════════════════════════════
   USER ZONE (navbar — connected)
   ═══════════════════════════════════════════════════════════ */
.acc-user-zone-inner { position: relative; }
.acc-user-btn {
  width: 44px; height: 44px;
  display: flex !important; align-items: center; justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; cursor: pointer; transition: all 0.2s ease;
  overflow: hidden; outline: none;
}
.acc-user-btn:hover { background: #fff; color: #000; border-color: #fff; }
.acc-user-avatar {
  width: 28px; height: 28px; border-radius: 2px;
  background: #C9A96E; color: #080808;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; flex-shrink: 0;
}
.acc-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; }
.acc-user-dropdown {
  position: absolute; top: calc(100% + 15px); right: 0;
  min-width: 220px; background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6); z-index: 1000;
  padding: 8px; animation: fadeInUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.acc-user-drop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; font-size: 0.85rem;
  color: rgba(255,255,255,0.6); width: 100%;
  text-align: left; border: none; background: none;
  cursor: pointer; text-decoration: none; transition: all 0.3s ease;
}
.acc-user-drop-item:hover {
  background: rgba(255,255,255,0.05); color: #fff;
  transform: translateX(4px);
}
.acc-user-drop-item i { width: 16px; text-align: center; opacity: 0.5; font-size: 0.9rem; }
.acc-user-drop-sep { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 0; }
.acc-user-drop-logout { color: #ff4757 !important; }
.acc-user-drop-logout:hover { background: rgba(255, 71, 87, 0.1); }

/* Devis auth card */
.dv-auth-card {
  margin-top: 24px; padding: 20px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); text-align: center;
}
.dv-auth-info {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; color: var(--gray-900); font-weight: 600; margin-bottom: 8px;
}
.dv-auth-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.premium-btn {
  background: linear-gradient(135deg, var(--gray-900), var(--black));
  color: var(--white); border: 1px solid rgba(255,255,255,0.1);
  padding: 13px 28px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.1rem; text-transform: uppercase;
  font-size: 0.78rem; display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.premium-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }

/* ═══════════════════════════════════════════════════════════
   CART PANEL
   ═══════════════════════════════════════════════════════════ */
.acc-cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 950; backdrop-filter: blur(4px);
}
.acc-cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px,100vw);
  background: var(--white); border-left: 1px solid var(--border);
  box-shadow: var(--shadow-xl); z-index: 960;
  display: flex; flex-direction: column; animation: slideInRight .22s ease;
}
.acc-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
}
.acc-cart-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.acc-cart-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gray-100); color: var(--text-secondary);
  cursor: pointer; border: none; transition: var(--t);
}
.acc-cart-close:hover { background: var(--gray-200); }
.acc-cart-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.acc-cart-empty { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.acc-cart-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; opacity: 0.25; }
.acc-cart-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
}
.acc-cart-item-info { flex: 1; }
.acc-cart-item-cat  { font-weight: 600; font-size: 0.85rem; }
.acc-cart-item-type { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px; display: inline-block; }
.acc-cart-item-sub  { font-size: 0.72rem; color: var(--text-muted); margin-left: 6px; }
.acc-cart-item-desc { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.4; }
.acc-cart-item-notes { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.acc-cart-item-remove {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.72rem; cursor: pointer;
  border-radius: 50%; border: none; background: none; flex-shrink: 0; transition: var(--t);
}
.acc-cart-item-remove:hover { color: #c00; background: #fff0f0; }
.acc-cart-item-edit {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.72rem; cursor: pointer;
  border-radius: 50%; border: none; background: none; flex-shrink: 0; transition: var(--t);
}
.acc-cart-item-edit:hover { color: var(--text-primary); background: var(--gray-100); }
.acc-cart-item-actions { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; align-items: center; }
.acc-cart-footer { padding: 16px; border-top: 1px solid var(--border); }
.acc-cart-total { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; }
.acc-cart-submit-btn {
  width: 100%; padding: 13px 20px;
  background: var(--black); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.05em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: var(--t);
}
.acc-cart-submit-btn:hover { background: #222; }
.acc-cart-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.acc-cart-urgence { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px; display: inline-block; }
.acc-cart-urgence-urgent { background: #fff3cd; color: #7a5800; }
.acc-cart-urgence-express { background: #ffe0e0; color: #8b0000; }

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */
.acc-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(5px); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn .18s ease;
}
.acc-modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gray-100); color: var(--text-secondary);
  cursor: pointer; border: none; transition: var(--t); z-index: 2;
}
.acc-modal-close:hover { background: var(--gray-200); }

/* Auth modal */
.acc-auth-modal-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px 36px; max-width: 420px; width: 100%;
  position: relative; text-align: center; animation: fadeInUp .22s ease;
}
.acc-auth-modal-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--black); margin-bottom: 20px;
}
.acc-auth-modal-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.acc-auth-modal-sub { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 28px; }
.acc-google-btn {
  width: 100%; padding: 13px 20px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text-primary); font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: var(--t);
}
.acc-google-btn:hover { border-color: var(--gray-400); background: var(--gray-50); }
.acc-google-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Devis modal */
.acc-devis-modal-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 32px; max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative; animation: fadeInUp .22s ease;
}
.dv-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.dv-cat-icon {
  width: 52px; height: 52px; background: var(--gray-100); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--gray-700); flex-shrink: 0;
}
.dv-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.dv-subtitle { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.45; }
.required-star { color: #e53e3e; font-size: 0.72rem; }
.dv-auth-prompt {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center; margin: 8px 0 16px;
}
.dv-auth-prompt i { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
.dv-auth-prompt p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 14px; }
.dv-connect-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 300px; width: 100%; margin: 0 auto;
  padding: 12px 20px; border-radius: var(--radius-md);
  background: var(--gray-900); color: var(--white);
  font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: var(--t);
}
.dv-connect-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.dv-prix-block {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0,120,60,0.06), rgba(0,80,40,0.03));
  border: 1px solid rgba(0,120,60,0.2); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 4px; animation: fadeInUp .18s ease;
}
.dv-prix-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #1A6035; opacity: .8; }
.dv-prix-value { font-size: 1.6rem; font-weight: 800; color: #1A6035; line-height: 1; }
.dv-prix-note { width: 100%; font-size: 0.72rem; color: var(--text-muted); margin: 4px 0 0; line-height: 1.4; }

/* Multi-select dropdown */
.dv-multi-select { position: relative; width: 100%; margin-top: 8px; }
.dv-ms-header {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: all 0.2s ease; font-size: 0.92rem; color: var(--text-primary);
}
.dv-ms-header:hover { border-color: var(--gray-400); background: var(--gray-50); }
.dv-ms-header.active { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.dv-ms-header i { font-size: 0.78rem; transition: transform 0.3s ease; opacity: 0.5; }
.dv-ms-header.active i { transform: rotate(180deg); }
.dv-ms-dropdown {
  position: absolute; top: calc(100% + 5px); left: 0; width: 100%;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 50; max-height: 280px; overflow-y: auto; padding: 8px;
}
.dv-ms-dropdown.hidden { display: none; }
.dv-ms-item {
  display: flex; align-items: center; padding: 12px 14px;
  border-radius: 4px; cursor: pointer; transition: background 0.2s; position: relative;
}
.dv-ms-item:hover { background: var(--gray-50); }
.dv-ms-item.selected { background: rgba(0,0,0,0.02); }
.dv-ms-check-icon { margin-left: auto; font-size: 0.88rem; color: #C9A96E; opacity: 0; transition: opacity 0.2s; }
.dv-ms-item.selected .dv-ms-check-icon { opacity: 1; }
.dv-sc-check { display: none; }
.dv-ms-label-text { display: flex; flex-direction: column; cursor: pointer; flex: 1; }
.dv-ms-name { font-size: 0.88rem; font-weight: 500; color: var(--text-primary); }
.dv-ms-prix { font-size: 0.78rem; font-weight: 700; color: #C9A96E; }

/* ═══════════════════════════════════════════════════════════
   USER AUTH TABS
   ═══════════════════════════════════════════════════════════ */
.user-auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.user-auth-tab {
  flex: 1; padding: 10px 16px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted); border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--t);
}
.user-auth-tab.active { color: var(--text-primary); border-bottom-color: var(--black); font-weight: 600; }
.user-auth-tab:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════
   ESPACE USER
   ═══════════════════════════════════════════════════════════ */
.user-view-intro {
  background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 20px; font-size: 0.85rem; color: var(--text-secondary);
}
.user-view-intro a { color: var(--black); text-decoration: underline; }
.user-items-list { display: flex; flex-direction: column; gap: 12px; }
.user-item-card { padding: 16px; border-radius: var(--radius); }
.user-item-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.user-item-cat { font-weight: 600; font-size: 0.9rem; }
.user-item-type-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; letter-spacing: 0.04em; }
.badge-vente { background: #f0f0f0; color: #222; }
.badge-rafistollage { background: #0a0a0a; color: #fff; }
.tag-vente { background: #f0f0f0 !important; color: #222 !important; }
.tag-rafistollage { background: #0a0a0a !important; color: #fff !important; }
.user-item-sub { font-size: 0.72rem; color: var(--text-muted); }
.user-item-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.user-item-notes { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }
.user-item-price { font-weight: 700; font-size: 0.9rem; }
.user-cart-footer { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.user-cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.user-cart-total-label { font-weight: 500; }
.user-cart-total-val { font-size: 1.2rem; font-weight: 700; }

/* Prestation card */
.prestation-card { padding: 16px; border-radius: var(--radius); cursor: pointer; transition: var(--t); }
.prestation-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.prestation-card-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.prestation-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* Mini timeline */
.mini-timeline { display: flex; align-items: flex-start; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; gap: 0; }
.mini-step { display: flex; flex-direction: column; align-items: center; min-width: 52px; position: relative; }
.mini-step:not(:last-child)::after { content: ''; position: absolute; top: 5px; left: calc(50% + 5px); width: calc(100% - 10px); height: 2px; background: var(--gray-200); z-index: 0; }
.mini-step.done:not(:last-child)::after { background: var(--black); }
.mini-step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); border: 2px solid var(--gray-300); position: relative; z-index: 1; flex-shrink: 0; }
.mini-step.done .mini-step-dot { background: var(--black); border-color: var(--black); }
.mini-step.current .mini-step-dot { background: var(--white); border-color: var(--black); border-width: 3px; box-shadow: 0 0 0 3px rgba(0,0,0,.1); }
.mini-step-label { font-size: 0.58rem; color: var(--text-muted); margin-top: 4px; text-align: center; white-space: nowrap; }
.mini-step.current .mini-step-label { color: var(--text-primary); font-weight: 600; }
.mini-step.done .mini-step-label { color: var(--text-secondary); }
.mini-timeline-annule { font-size: 0.75rem; color: #8b0000; background: #fff0f0; border: 1px solid #ffaaaa; border-radius: var(--radius-sm); padding: 6px 12px; margin-top: 12px; display: inline-block; }

/* Profil */
.user-profil-card { margin: 40px auto; padding: 40px; border-radius: var(--radius-xl); max-width: 700px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.user-profil-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.user-profil-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.user-profil-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 4px; color: var(--black); }
.user-profil-subtitle { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* History */
.detail-history { display: flex; flex-direction: column; gap: 8px; }
.detail-history-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.detail-history-date { font-size: 0.72rem; color: var(--text-muted); }
.detail-history-note { font-size: 0.75rem; color: var(--text-secondary); }

/* Nav badge */
.nav-badge { background: #e53e3e; color: var(--white); font-size: 0.58rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; min-width: 16px; text-align: center; margin-left: auto; }

/* ═══════════════════════════════════════════════════════════
   ADMIN COMPONENTS
   ═══════════════════════════════════════════════════════════ */
.modal-wide { max-width: 680px !important; }

/* Status badges */
.status-badge.status-devis_soumis,
.status-badge.status-pris         { background: var(--s-pris-bg);    color: var(--s-pris-txt);    border: 1px solid var(--s-pris-bd); }
.status-badge.status-devis_valide,
.status-badge.status-en_preparation,
.status-badge.status-encours      { background: var(--s-encours-bg); color: var(--s-encours-txt); border: 1px solid var(--s-encours-bd); }
.status-badge.status-en_attente_reception,
.status-badge.status-en_attente_expedition,
.status-badge.status-attente      { background: var(--s-attente-bg); color: var(--s-attente-txt); border: 1px solid var(--s-attente-bd); }
.status-badge.status-recu         { background: var(--s-pris-bg);    color: var(--s-pris-txt);    border: 1px solid var(--s-pris-bd); }
.status-badge.status-en_transit   { background: #e3f2fd; color: #0d47a1; border: 1px solid #90caf9; }
.status-badge.status-traite,
.status-badge.status-pret         { background: var(--s-pret-bg);    color: var(--s-pret-txt);    border: 1px solid var(--s-pret-bd); }
.status-badge.status-expedie,
.status-badge.status-expedie_retour,
.status-badge.status-livre        { background: var(--s-livre-bg);   color: var(--s-livre-txt);   border: 1px solid var(--s-livre-bd); }
.status-badge.status-paye         { background: #fffbea; color: #7a5800; border: 1px solid #f0d080; }
.status-badge.status-annule       { background: var(--s-annule-bg);  color: var(--s-annule-txt);  border: 1px solid var(--s-annule-bd); }

/* Catégories admin */
.cat-manage-grid  { display: grid; grid-template-columns: repeat(auto-fill,minmax(380px,1fr)); gap: 20px; padding: 4px 0 20px; }
.cat-manage-card  { border-radius: var(--radius-lg); padding: 20px; }
.cat-manage-header{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-manage-icon  { width: 40px; height: 40px; background: var(--gray-100); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--gray-700); }
.cat-manage-name  { font-size: 1rem; font-weight: 600; margin: 0; }
.cat-manage-cols  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-type-block   { background: var(--gray-50); border-radius: var(--radius-sm); padding: 12px; border: 1px solid var(--border); }
.cat-type-label   { font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.sous-cat-list    { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 4px; }
.sous-cat-item    { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; padding: 4px 6px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); }
.sous-cat-toggle, .sous-cat-delete { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; border-radius: 4px; color: var(--text-muted); font-size: 0.7rem; transition: var(--t); }
.sous-cat-toggle:hover { color: var(--text-primary); background: var(--gray-100); }
.sous-cat-delete:hover { color: #c00; background: #fff0f0; }
.sous-cat-add-row { display: flex; gap: 6px; }
.sous-cat-input { flex: 1; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.75rem; background: var(--white); color: var(--text-primary); }
.sous-cat-input:focus { outline: none; border-color: var(--gray-700); }

/* Bordereau */
.bordereau-doc { font-family: var(--font-body); padding: 28px; background: var(--white); max-width: 100%; }
.bordereau-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--black); }
.bordereau-brand { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: .1em; color: var(--black); }
.bordereau-brand-sub { font-size: 0.72rem; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; }
.bordereau-title-block { text-align: right; }
.bordereau-title { font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bordereau-ref   { font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }
.bordereau-date  { font-size: 0.78rem; color: var(--text-muted); }
.bordereau-addresses { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-bottom: 28px; }
.bordereau-address-label { font-size: 0.62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.bordereau-address-content { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; font-size: 0.85rem; line-height: 1.7; min-height: 80px; }
.bordereau-address-content.editable { outline: none; cursor: text; }
.bordereau-address-content.editable:focus { border-color: var(--gray-700); background: var(--white); }
.bordereau-address-arrow { font-size: 1.4rem; color: var(--gray-400); }
.bordereau-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.85rem; }
.bordereau-table th { background: var(--black); color: var(--white); padding: 10px 12px; text-align: left; font-weight: 600; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; }
.bordereau-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bordereau-table tfoot td { border-top: 2px solid var(--black); border-bottom: none; padding-top: 12px; }
.bordereau-table td.editable { cursor: text; outline: none; }
.bordereau-table td.editable:focus { background: var(--gray-50); }
.bordereau-instructions { margin-bottom: 24px; background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.bordereau-instructions-title { font-size: 0.7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.bordereau-instructions-content { font-size: 0.85rem; line-height: 2; outline: none; cursor: text; }
.bordereau-instructions-content:focus { background: var(--white); border-radius: 4px; padding: 4px; }
.bordereau-footer-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.bordereau-weight-box { font-size: 0.8rem; }
.bordereau-inline-edit { outline: none; border-bottom: 1px dashed var(--gray-400); cursor: text; }
.bordereau-sign-box { font-size: 0.8rem; }
.bordereau-actions { display: flex; gap: 10px; padding: 16px 28px 24px; border-top: 1px solid var(--border); }

/* User prest rows */
.user-prest-list { display: flex; flex-direction: column; gap: 8px; }
.user-prest-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════
   EXPEDITION MODAL
   ═══════════════════════════════════════════════════════════ */
.expedition-section { margin-bottom: 24px; }
.expedition-section-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.expedition-section-title i { opacity: .6; }
.transporteur-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.transporteur-option { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all .3s ease; background: var(--white); text-align: center; }
.transporteur-option input[type="radio"] { display: none; }
.transporteur-option i { font-size: 1.5rem; color: var(--text-muted); transition: .3s; }
.transporteur-name { font-weight: 600; font-size: 0.85rem; }
.transporteur-price { font-size: 0.72rem; color: var(--text-muted); }
.transporteur-option:hover { border-color: var(--gray-400); background: var(--gray-50); }
.transporteur-option.selected { border-color: var(--black); background: var(--gray-50); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
.transporteur-option.selected i { color: var(--black); }
.expedition-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.expedition-addresses { display: flex; align-items: stretch; gap: 12px; }
.expedition-address-block { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--gray-50); }
.expedition-address-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 8px; }
.expedition-address-content { font-size: 0.85rem; line-height: 1.6; }
.expedition-arrow { display: flex; align-items: center; font-size: 1.2rem; color: var(--text-muted); padding: 0 4px; }
.expedition-recap { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.recap-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.88rem; }
.recap-total { border-top: 2px solid var(--black); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 1.1rem; }
.expedition-alert { background: #FFF8E1; border: 1px solid #FFE082; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 0.85rem; color: #5D4200; display: flex; align-items: center; gap: 8px; }
.expedition-alert i { color: #F9A825; font-size: 1.1rem; }
.expedition-actions { margin-top: 20px; }
.btn-lg { padding: 16px 32px; font-size: 0.95rem; font-weight: 700; letter-spacing: .05em; width: 100%; white-space: normal; height: auto; line-height: 1.4; display: inline-flex; justify-content: center; align-items: center; text-align: center; }

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
  .no-print { display: none !important; }
  .modal-overlay { position: static !important; background: none !important; }
  .modal-detail { box-shadow: none !important; border: none !important; max-height: none !important; overflow: visible !important; }
  .bordereau-doc { padding: 0 !important; }
  body * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bordereau-table th { background: #000 !important; color: #fff !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .acc-nav-links  { display: none; }
  .acc-hamburger  { display: flex; }
  .acc-nav-inner  { padding: 0 8px 0 16px; }
  .acc-nav-logo   { font-size: 0.95rem; }

  /* Pill stays centered but slightly smaller */
  .acc-nav-inner { max-width: calc(100% - 32px); width: calc(100% - 32px); margin: 12px auto 0; }
  .acc-mobile-menu { width: calc(100% - 32px); max-width: calc(100% - 32px); left: 16px; right: 16px; top: calc(12px + 58px + 8px); }

  .hero-content-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-side-info { display: none; }
  .acc-slide-content { padding: 0 32px; }
  .acc-process-inner { grid-template-columns: 1fr; gap: 0; padding: 20px 24px; }
  .acc-process-arrow { display: none; }
  .acc-process-step { flex-direction: row; align-items: center; text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .acc-process-step:last-child { border-bottom: none; }
  .acc-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .acc-footer-brand { grid-column: 1 / -1; }
  .bordereau-addresses { grid-template-columns: 1fr; }
  .bordereau-address-arrow { display: none; }
  .bordereau-footer-row { grid-template-columns: 1fr; }
  .cat-manage-cols { grid-template-columns: 1fr; }
  .cat-manage-grid { grid-template-columns: 1fr; }
  .acc-modal-overlay { padding: 16px; }
  .acc-devis-modal-card { padding: 20px; border-radius: var(--radius-lg); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .acc-auth-modal-card { padding: 28px 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .acc-cart-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .user-profil-card { margin: 20px 16px; padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .acc-nav-inner { height: 52px; }
  .acc-nav-logo { font-size: 0.88rem; }
  .acc-slide-content { padding: 0 20px; }
  .acc-slide-title { font-size: 2.4rem; }
  .acc-slide-sub { font-size: 0.85rem; margin-bottom: 24px; }
  .acc-slide-tag { font-size: 0.62rem; padding: 4px 12px; }
  .acc-slide-actions { flex-direction: column; gap: 10px; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; padding: 12px 20px; min-height: 48px; }
  .hero-bottom-bar { left: 20px; right: 20px; bottom: 24px; }
  .hero-progress-bar { left: 20px; right: 20px; bottom: 76px; }
  .acc-section-title { font-size: 1.8rem; }
  .acc-section-sub { font-size: 0.85rem; }
  .acc-prestations { padding: 52px 16px; }
  .acc-cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .acc-cat-card { padding: 22px 16px; }
  .acc-user-name { display: none; }
  .acc-cart-panel { width: 100vw; }
  .acc-user-zone-inner { z-index: 100; }
  .expedition-row { grid-template-columns: repeat(2, 1fr); }
  .transporteur-grid { grid-template-columns: repeat(2, 1fr); }
  .expedition-addresses { flex-direction: column; }
  .expedition-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
  .btn-lg { padding: 12px 20px; font-size: 0.88rem; }
  .mini-timeline { flex-direction: column; gap: 12px; overflow: visible; padding: 10px 0 0 10px; }
  .mini-step { flex-direction: row; align-items: center; gap: 12px; min-width: 0; width: 100%; justify-content: flex-start; }
  .mini-step:not(:last-child)::after { top: 10px; left: 4px; width: 2px; height: calc(100% + 12px); background: var(--gray-200); }
  .mini-step-dot { width: 10px; height: 10px; }
  .mini-step-label { margin-top: 0; font-size: 0.75rem; text-align: left; }
  .prestation-card-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .status-badge { align-self: flex-start; font-size: 0.7rem; padding: 3px 10px; }
  .user-profil-card { padding: 24px 16px; margin: 20px auto; }
  .user-profil-header { gap: 12px; margin-bottom: 24px; padding-bottom: 16px; }
  .user-profil-avatar { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (max-width: 360px) {
  .acc-cat-grid { grid-template-columns: 1fr; }
  .acc-slide-title { font-size: 1.9rem; }
  .acc-nav-inner { height: 50px; }
  .acc-cart-btn, .acc-hamburger, .acc-signin-btn { width: 34px; height: 34px; }
  .acc-prestations { padding: 36px 12px; }
  .acc-section-title { font-size: 1.6rem; }
  .acc-devis-modal-card { padding: 16px; }
  .acc-auth-modal-card { padding: 22px 14px; }
}

/* ═══════════════════════════════════════════════════════════
   ARTISTIC FOOTER — Vertical Layout
   ═══════════════════════════════════════════════════════════ */
.acc-footer {
  background: #080808; color: #fff;
  padding: 80px 24px 60px; position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; gap: 60px;
}
.footer-vertical-sidebar {
  flex: 0 0 auto;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding-right: 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.vertical-brand-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(255,255,255,0.08); /* Slightly more visible */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  user-select: none;
  pointer-events: none;
}

.acc-footer-inner { flex: 1; }

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  flex: 1;
}
.footer-col-title {
  font-family: var(--font-display); font-size: 0.9rem; color: #fff;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 28px; display: block;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-links a, .footer-links address {
  color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.92rem;
  transition: all 0.3s ease; font-style: normal; line-height: 1.5;
}
.footer-links a:hover { color: #C9A96E; transform: translateX(5px); }

.footer-socials { display: flex; gap: 12px; margin-top: 12px; }
.footer-socials a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; border-radius: 4px;
  color: #fff; transition: all 0.3s ease; font-size: 1.1rem;
}
.footer-socials a:hover { border-color: #C9A96E; color: #C9A96E; background: rgba(201,169,110,0.1); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
}

.acc-mobile-socials {
  display: flex; gap: 16px; padding: 12px; margin-top: 8px;
}
.acc-mobile-socials a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; border-radius: 4px;
  color: #fff; font-size: 1.2rem; background: rgba(255,255,255,0.03);
}
/* Boutique light mobile menu socials */
body.page-boutique .acc-mobile-socials a {
  color: #000; border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.03);
}

@media (max-width: 900px) {
  .acc-footer { flex-direction: column; gap: 40px; padding: 60px 20px; }
  .footer-vertical-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 0 40px 0; }
  .vertical-brand-text { writing-mode: horizontal-tb; transform: none; font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
