/* ============================================================
   ALWARDI PARFUMS — CSS Principal
   Esthétique: Luxe Sombre · Or · Parfumerie Haute Gamme
   Typographie: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --or:          #C9A84C;
  --or-clair:    #E8C97A;
  --or-pale:     #F0DFA0;
  --or-sombre:   #8B6914;
  --noir:        #0A0A0F;
  --noir-profond:#050508;
  --encre:       #12121A;
  --charbon:     #1A1A26;
  --graphite:    #2A2A38;
  --gris:        #6B6B80;
  --gris-clair:  #A8A8B8;
  --creme:       #F5F0E8;
  --blanc:       #FEFCF8;

  /* Gradients Or */
  --gradient-or:       linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
  --gradient-or-doux:  linear-gradient(135deg, #8B6914 0%, #C9A84C 50%, #F0DFA0 100%);
  --gradient-sombre:   linear-gradient(180deg, var(--noir-profond) 0%, var(--encre) 100%);
  --gradient-card:     linear-gradient(145deg, rgba(201,168,76,.08) 0%, rgba(10,10,15,.9) 100%);

  /* Effets */
  --glow-or:   0 0 40px rgba(201,168,76,.3), 0 0 80px rgba(201,168,76,.12);
  --glow-fort: 0 0 20px rgba(201,168,76,.5), 0 0 60px rgba(201,168,76,.25);
  --ombre-card:0 20px 60px rgba(0,0,0,.6), 0 4px 20px rgba(0,0,0,.4);
  --ombre-btn: 0 8px 30px rgba(201,168,76,.35);

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Transitions */
  --ease-luxe:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-retour:cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --dur-rapide: 200ms;
  --dur-normal: 400ms;
  --dur-lent:   700ms;

  /* Layout */
  --container: 1280px;
  --nav-h:     80px;
  --rayon:     4px;
  --rayon-lg:  12px;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--noir-profond);
  color: var(--creme);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
}

/* Curseur personnalisé */
body { cursor: none; }
a, button, [role="button"], select, input, label { cursor: none; }

#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--or);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-rapide) var(--ease-luxe),
              width var(--dur-rapide) var(--ease-luxe),
              height var(--dur-rapide) var(--ease-luxe),
              background var(--dur-rapide) var(--ease-luxe);
  mix-blend-mode: difference;
}

#cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 120ms var(--ease-luxe);
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; }

/* Sélection texte */
::selection { background: rgba(201,168,76,.3); color: var(--or-clair); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--or-sombre); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--or); }

/* ─── Typographie ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .02em;
}

.titre-hero {
  font-size: clamp(3rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
  background: var(--gradient-or-doux);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.titre-section {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  color: var(--or);
  letter-spacing: .04em;
}

.surtitre {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gris-clair);
}

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* ─── Texture de fond ───────────────────────────────────────────────────────── */
.bg-texture {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201,168,76,.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--dur-normal) var(--ease-luxe),
              backdrop-filter var(--dur-normal) var(--ease-luxe),
              box-shadow var(--dur-normal) var(--ease-luxe);
}

.navbar.scrolled {
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(201,168,76,.2), 0 4px 30px rgba(0,0,0,.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  color: var(--or);
  text-decoration: none;
  letter-spacing: .08em;
  position: relative;
}

.logo::after {
  content: 'PARFUMS';
  display: block;
  font-size: .52rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .35em;
  color: var(--gris-clair);
  text-align: right;
  margin-top: -4px;
}

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

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gris-clair);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--dur-rapide) var(--ease-luxe);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-or);
  transition: width var(--dur-normal) var(--ease-luxe);
}

.nav-links a:hover { color: var(--or-clair); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 50%;
  background: transparent;
  color: var(--gris-clair);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--dur-rapide) var(--ease-luxe);
  position: relative;
}

.nav-icon-btn:hover {
  border-color: var(--or);
  color: var(--or);
  box-shadow: var(--glow-or);
}

.badge-panier {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--or);
  color: var(--noir);
  font-size: .65rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--or);
  transition: transform var(--dur-normal) var(--ease-luxe), opacity var(--dur-rapide);
}
.hamburger.ouvert span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.ouvert span:nth-child(2) { opacity: 0; }
.hamburger.ouvert span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--dur-lent) var(--ease-luxe);
}
.nav-mobile.ouvert { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-style: italic;
  color: var(--creme);
  text-decoration: none;
  transition: color var(--dur-rapide);
}
.nav-mobile a:hover { color: var(--or); }

/* ─── Boutons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--rayon);
  transition: all var(--dur-normal) var(--ease-luxe);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .5s var(--ease-luxe), height .5s var(--ease-luxe);
}
.btn:active::before { width: 200%; height: 400%; }

.btn-or {
  background: var(--gradient-or);
  color: var(--noir);
  box-shadow: var(--ombre-btn);
}
.btn-or:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,.5);
}

.btn-outline {
  background: transparent;
  color: var(--or);
  border: 1px solid rgba(201,168,76,.5);
}
.btn-outline:hover {
  background: rgba(201,168,76,.08);
  border-color: var(--or);
  box-shadow: var(--glow-or);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gris-clair);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-ghost:hover { color: var(--creme); border-color: rgba(255,255,255,.3); }

.btn-sm { padding: .55rem 1.2rem; font-size: .72rem; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: .88rem; }

/* ─── Cartes Produit ────────────────────────────────────────────────────────── */
.carte-produit {
  background: var(--charbon);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--rayon-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-normal) var(--ease-luxe),
              box-shadow var(--dur-normal) var(--ease-luxe),
              border-color var(--dur-normal) var(--ease-luxe);
  group: true;
}

.carte-produit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-luxe);
  z-index: 1;
  pointer-events: none;
}

.carte-produit:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--ombre-card), var(--glow-or);
  border-color: rgba(201,168,76,.4);
}

.carte-produit:hover::before { opacity: 1; }

.carte-produit .img-wrapper {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a26 0%, #12121a 100%);
  position: relative;
}

.carte-produit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-lent) var(--ease-luxe);
}

.carte-produit:hover img { transform: scale(1.06); }

.carte-produit .badge-promo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-or);
  color: var(--noir);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 2px;
  z-index: 2;
}

.carte-produit .actions-survol {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, transparent 100%);
  transition: bottom var(--dur-normal) var(--ease-luxe);
  z-index: 3;
}

.carte-produit:hover .actions-survol { bottom: 0; }

.carte-produit .infos {
  padding: 1.2rem 1rem;
  position: relative;
  z-index: 2;
}

.carte-produit .cat-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .4rem;
}

.carte-produit .nom {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--creme);
  margin-bottom: .6rem;
  line-height: 1.3;
}

.carte-produit .prix-wrapper {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.carte-produit .prix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--or);
}

.carte-produit .prix-barre {
  font-size: .8rem;
  color: var(--gris);
  text-decoration: line-through;
}

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--noir-profond);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(139,105,20,.06) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

/* Ligne déco */
.ligne-or {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gradient-or);
  margin-bottom: 1.5rem;
}

/* ─── Slider Swiper custom ──────────────────────────────────────────────────── */
.swiper-pagination-bullet {
  background: rgba(201,168,76,.4) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  transition: all var(--dur-normal) !important;
}

.swiper-pagination-bullet-active {
  background: var(--or) !important;
  width: 24px !important;
  border-radius: 3px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--or) !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(201,168,76,.3) !important;
  border-radius: 50% !important;
  transition: all var(--dur-rapide) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(201,168,76,.1) !important;
  box-shadow: var(--glow-or) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after { font-size: .9rem !important; font-weight: 700 !important; }

/* ─── Section Séparateur ────────────────────────────────────────────────────── */
.separateur {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.separateur::before,
.separateur::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
}

.separateur-icone {
  color: var(--or);
  font-size: 1rem;
}

/* ─── Badge & Labels ────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.badge-or    { background: rgba(201,168,76,.15); color: var(--or); border: 1px solid rgba(201,168,76,.3); }
.badge-vert  { background: rgba(34,197,94,.1);   color: #4ade80;   border: 1px solid rgba(34,197,94,.3); }
.badge-rouge { background: rgba(239,68,68,.1);   color: #f87171;   border: 1px solid rgba(239,68,68,.3); }
.badge-bleu  { background: rgba(59,130,246,.1);  color: #60a5fa;   border: 1px solid rgba(59,130,246,.3); }

/* ─── Inputs & Formulaires ──────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--rayon);
  padding: .85rem 1.1rem;
  color: var(--creme);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--dur-rapide), box-shadow var(--dur-rapide), background var(--dur-rapide);
}

.input::placeholder { color: var(--gris); }

.input:focus {
  border-color: var(--or);
  background: rgba(201,168,76,.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}

.input-group {
  position: relative;
}

.input-group .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gris);
  pointer-events: none;
  transition: color var(--dur-rapide);
}

.input-group:focus-within .input-icon { color: var(--or); }
.input-group .input { padding-left: 2.8rem; }

.label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris-clair);
  margin-bottom: .5rem;
}

/* Select */
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A84C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ─── Panier Sidebar ────────────────────────────────────────────────────────── */
.panier-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--encre);
  border-left: 1px solid rgba(201,168,76,.15);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform var(--dur-lent) var(--ease-luxe);
  display: flex;
  flex-direction: column;
}

.panier-sidebar.ouvert { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,.7); }

.panier-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-luxe);
  backdrop-filter: blur(4px);
}
.panier-overlay.actif { opacity: 1; pointer-events: all; }

.panier-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(201,168,76,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panier-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--or);
}

.panier-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panier-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.08);
  border-radius: var(--rayon);
  transition: border-color var(--dur-rapide);
}
.panier-item:hover { border-color: rgba(201,168,76,.2); }

.panier-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--rayon);
}

.panier-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(201,168,76,.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.total-ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-ligne.principal {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--or);
  padding-top: .5rem;
  border-top: 1px solid rgba(201,168,76,.15);
}

/* ─── Quantité selector ─────────────────────────────────────────────────────── */
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 50%;
  color: var(--or);
  font-size: 1rem;
  cursor: none;
  transition: all var(--dur-rapide);
  line-height: 1;
}
.qty-btn:hover { background: rgba(201,168,76,.15); border-color: var(--or); }

.qty-val {
  min-width: 28px;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
}

/* ─── Notifications Toast ───────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none;
}

.toast {
  padding: 1rem 1.4rem;
  background: var(--charbon);
  border-radius: var(--rayon);
  border-left: 3px solid var(--or);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  color: var(--creme);
  font-size: .88rem;
  max-width: 320px;
  pointer-events: all;
  transform: translateX(120%);
  transition: transform .4s var(--ease-luxe), opacity .4s var(--ease-luxe);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.toast.visible { transform: translateX(0); opacity: 1; }
.toast.succès  { border-color: #4ade80; }
.toast.erreur  { border-color: #f87171; }
.toast.info    { border-color: var(--or); }

/* ─── Animations ────────────────────────────────────────────────────────────── */

/* Fade In Up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Shimmer or */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Float doux */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Rotation lente */
@keyframes rotateLent {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Pulse or */
@keyframes pulseOr {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

/* Reveal line */
@keyframes revealLine {
  from { width: 0; }
  to   { width: 60px; }
}

/* Scintillement titre */
@keyframes scintille {
  0%, 100% { opacity: 1; }
  50%       { opacity: .85; }
}

/* Classes utilitaires animation */
.animate-fade-up {
  animation: fadeInUp var(--dur-lent) var(--ease-luxe) both;
}

.animate-fade-up-delay-1 { animation-delay: .1s; }
.animate-fade-up-delay-2 { animation-delay: .2s; }
.animate-fade-up-delay-3 { animation-delay: .3s; }
.animate-fade-up-delay-4 { animation-delay: .4s; }
.animate-fade-up-delay-5 { animation-delay: .5s; }

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Intersection Observer — révélation au scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s var(--ease-luxe), transform .8s var(--ease-luxe);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── Loader Page ────────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--noir-profond);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity .5s var(--ease-luxe), visibility .5s;
}

#page-loader.caché { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--or);
  letter-spacing: .1em;
  animation: scintille 1.5s ease-in-out infinite;
}

.loader-barre {
  width: 120px;
  height: 1px;
  background: rgba(201,168,76,.2);
  position: relative;
  overflow: hidden;
}

.loader-barre::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-or);
  animation: shimmer 1.2s var(--ease-luxe) infinite;
  background-size: 200% auto;
}

/* ─── Composants Admin ──────────────────────────────────────────────────────── */
.stat-card {
  background: var(--charbon);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--rayon-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-rapide), transform var(--dur-rapide);
}

.stat-card:hover { border-color: rgba(201,168,76,.3); transform: translateY(-3px); }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,.1);
  color: var(--or);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.stat-card .stat-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-card .stat-label {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--gris-clair);
  text-transform: uppercase;
}

/* Table admin */
.table-admin {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.table-admin th {
  padding: .85rem 1rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gris-clair);
  border-bottom: 1px solid rgba(201,168,76,.15);
  text-align: left;
}

.table-admin td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--creme);
  vertical-align: middle;
}

.table-admin tr:hover td { background: rgba(201,168,76,.04); }

/* Sidebar admin */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--encre);
  border-right: 1px solid rgba(201,168,76,.1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.5rem;
  color: var(--gris-clair);
  font-size: .85rem;
  text-decoration: none;
  transition: all var(--dur-rapide);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover,
.admin-nav-item.actif {
  background: rgba(201,168,76,.06);
  color: var(--or);
  border-left-color: var(--or);
}

/* ─── Sections Décoratives ──────────────────────────────────────────────────── */
.decor-ligne-horizontale {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.3) 30%, rgba(201,168,76,.3) 70%, transparent);
}

.or-text {
  background: var(--gradient-or-doux);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rayon-lg);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--noir-profond);
  border-top: 1px solid rgba(201,168,76,.12);
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--or);
  letter-spacing: .08em;
}

.footer-link {
  color: var(--gris-clair);
  text-decoration: none;
  font-size: .85rem;
  transition: color var(--dur-rapide);
}
.footer-link:hover { color: var(--or); }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-clair);
  font-size: .95rem;
  text-decoration: none;
  transition: all var(--dur-rapide);
}
.social-btn:hover { border-color: var(--or); color: var(--or); box-shadow: var(--glow-or); }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .carte-produit .actions-survol { bottom: 0; }

  .admin-sidebar { display: none; }

  #cursor, #cursor-trail { display: none; }
  body, a, button, [role="button"], select, input, label { cursor: auto; }

  #toast-container { bottom: 1rem; right: 1rem; left: 1rem; }
  .toast { max-width: 100%; }
}

@media (max-width: 480px) {
  .panier-item { grid-template-columns: 56px 1fr auto; }
  .panier-item img { width: 56px; height: 70px; }
}

/* ─── Utilitaires ───────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.no-select { user-select: none; }
.pointer-events-none { pointer-events: none; }
.text-or { color: var(--or); }
.text-gris { color: var(--gris-clair); }
.text-creme { color: var(--creme); }
.bg-encre { background: var(--encre); }
.bg-charbon { background: var(--charbon); }
.border-or { border-color: rgba(201,168,76,.2); }
.gap-section { margin-top: clamp(4rem, 8vw, 8rem); }
.pt-nav { padding-top: var(--nav-h); }