/* ============================================================
   DJASTICE — Maison · Bamako
   Refonte typographique et chromatique
   ============================================================ */

:root {
  /* paper & ink */
  --ivory: #FAF8F3;
  --ivory-2: #F2EFE8;
  --ivory-3: #EAE6DB;
  --paper: #F7F4EE;
  --ink: #151210;
  --ink-2: #1E1A16;
  --ink-soft: #2C2720;

  /* tones */
  --stone: #8A7F72;
  --stone-2: #B5AA9C;
  --brass: #BF9A4E;      /* or raffiné — accent principal */
  --brass-2: #8C6C2E;    /* or profond — hover / pressed */
  --gold-pale: #E9D9AF;  /* rehaut or, usage décoratif uniquement (jamais sur du texte en dégradé) */
  --bordeaux: #4A1419;   /* accent rare */
  --bordeaux-2: #6E1F26;

  /* lines */
  --line: rgba(21, 18, 16, 0.09);
  --line-2: rgba(21, 18, 16, 0.16);
  --line-strong: rgba(21, 18, 16, 0.38);

  /* fonts */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mark: "Cormorant Garamond", "Cormorant", serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 72px);
  --rail: 36px; /* outer ornamental margin */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--ivory); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--ivory); }

/* paper grain over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.92;
}
.display-xxl { font-size: clamp(56px, 8vw, 132px);  font-weight: 400; line-height: 1.0; }
.display-xl  { font-size: clamp(44px, 6.5vw, 104px); font-weight: 400; line-height: 1.02; }
.display-l   { font-size: clamp(36px, 5vw, 84px);   font-weight: 400; line-height: 1.03; }
.display-m   { font-size: clamp(30px, 4vw, 64px);   font-weight: 400; line-height: 1.05; }
.display-s   { font-size: clamp(24px, 3vw, 44px);   font-weight: 400; line-height: 1.08; }

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.serif-italic-brass { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--brass); }
.serif-italic-bord { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--bordeaux); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
}
.eyebrow-stone { color: var(--stone); }
.eyebrow-brass { color: var(--brass); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.smallcaps {
  font-family: var(--font-display);
  font-feature-settings: "smcp" on, "c2sc" on;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.lead {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  font-weight: 300;
}
.body-serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.4;
  color: var(--ink);
}
p { max-width: 64ch; }
.muted { color: var(--stone); }

/* drop cap */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 5.6em;
  line-height: 0.78;
  float: left;
  padding: 0.08em 0.18em 0 0;
  color: var(--bordeaux);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 96px) 0; }

.grid { display: grid; gap: clamp(20px, 2vw, 32px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .g-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* section header with hairline + index */
.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.chapter-head .ch-num {
  font-family: var(--font-mark);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.chapter-head .ch-mid {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  justify-self: center;
  text-align: center;
}
.chapter-head .ch-end {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: right;
}

/* ============================================================
   HEADER & WORDMARK
   ============================================================ */
.topbar {
  position: relative; z-index: 60;
  background: var(--ink);
  color: var(--ivory);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.topbar .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--stone-2);
}
.topbar a { color: var(--stone-2); }
.topbar a:hover { color: var(--brass); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--ivory) 78%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, background .4s ease;
}
.header::after {
  /* filet or décoratif — apparaît seulement une fois le header "scrolled" */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale) 20%, var(--brass) 50%, var(--gold-pale) 80%, transparent);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.header.scrolled {
  border-bottom-color: transparent;
  background: color-mix(in oklab, var(--ivory) 90%, transparent);
}
.header.scrolled::after { opacity: 0.65; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: clamp(12px, 2vw, 28px);
}
.header-inner .nav-left { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; min-width: 0; }
.header-inner .nav-right { display: flex; gap: clamp(14px, 1.6vw, 28px); align-items: center; justify-content: flex-end; min-width: 0; }
.nav-links { display: contents; }

/* Wordmark */
.brand {
  display: inline-flex; flex-direction: column; align-items: center;
  text-align: center; line-height: 1; gap: 5px;
}
.brand .mark {
  font-family: var(--font-mark);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  padding-left: 0.52em;
  color: var(--ink);
}
/* Ornamental rule replacing the "Maison · Bamako" subtitle */
.brand-rule {
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-rule::before, .brand-rule::after {
  content: ""; height: 1px; width: 28px; background: var(--stone-2);
  display: block;
}
.brand-star {
  color: var(--brass); font-size: 8px; line-height: 1;
}
/* Legacy .sub kept for footer */
.brand .sub {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.brand .sub::before, .brand .sub::after {
  content: ""; height: 1px; width: 22px; background: var(--stone);
}
.brand .sub .star { color: var(--brass); }

/* brand variant — large hero usage */
.brand-large {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
}
.brand-large .mark {
  font-family: var(--font-mark);
  font-size: clamp(56px, 10vw, 160px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 0.18em;
}
.brand-large .sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.48em;
  text-transform: uppercase; color: var(--stone);
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 18px;
}
.brand-large .sub::before, .brand-large .sub::after {
  content: ""; height: 1px; width: 60px; background: var(--stone);
}
.brand-large .sub .star { color: var(--brass); }

.nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.65;
  position: relative;
  padding: 4px 0;
  transition: opacity .2s ease;
}
.nav a:hover { opacity: 1; }
.nav a.active { opacity: 1; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--brass);
}

.icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  opacity: 0.7;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.icon-btn:hover { background: var(--ink); color: var(--ivory); opacity: 1; }

@media (max-width: 1180px) {
  .nav a { font-size: 11.5px; }
  .header-inner .nav-left, .header-inner .nav-right { gap: 16px; }
  .brand .mark { font-size: 19px; letter-spacing: 0.42em; padding-left: 0.42em; }
}
@media (max-width: 1000px) {
  .header-inner .nav-left,
  .nav-right .nav-links { display: none; }
  .header-inner { height: 58px; grid-template-columns: 1fr auto 1fr; }
  .brand .mark { font-size: 18px; letter-spacing: 0.38em; padding-left: 0.38em; }
  .brand .sub { font-size: 7.5px; }
  .burger-btn { display: inline-flex !important; }
}

/* burger hidden on desktop */
.burger-btn { display: none; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  top: 58px;
  z-index: 55;
  background: var(--ivory);
  padding: clamp(32px, 6vw, 56px) var(--gutter);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.26s ease, transform 0.26s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
}
.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 9vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.65;
  transition: opacity 0.2s ease, padding-left 0.25s ease, color 0.2s ease;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  opacity: 1;
  padding-left: 12px;
  color: var(--bordeaux);
}
.mobile-drawer-footer {
  padding-top: 40px;
  padding-bottom: 24px;
}

/* chapter-head simplify on mobile */
@media (max-width: 700px) {
  .chapter-head { grid-template-columns: auto 1fr; }
  .chapter-head .ch-end { display: none; }
  .chapter-head .ch-mid { justify-self: start; text-align: left; }
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-brass {
  background: var(--brass); color: var(--ivory); border-color: var(--brass);
}
.btn-brass:hover { background: var(--ink); border-color: var(--ink); }

.btn-bordeaux {
  background: var(--bordeaux); color: var(--ivory); border-color: var(--bordeaux);
}
.btn-bordeaux:hover { background: var(--ink); border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.link-arrow .arrow { transition: transform .25s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--stone);
}
.link-quiet:hover { color: var(--ink); }

/* ============================================================
   IMAGE PLACEHOLDERS (richer, more cinematic)
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ph::after {
  /* vignette atmosphere */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(255,255,255,0.06), transparent 50%),
    radial-gradient(120% 100% at 100% 100%, rgba(0,0,0,0.40), transparent 60%);
  pointer-events: none;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.ph .label,
.ph .tag-tl {
  position: absolute;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  z-index: 3;
}
.ph .label { left: 20px; bottom: 18px; background: rgba(0,0,0,0.25); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.ph .tag-tl { left: 20px; top: 20px; }

/* explicit photographic feel using layered gradients */
.ph-warm    { background: radial-gradient(120% 90% at 30% 20%, #DDB98F, transparent 60%), radial-gradient(140% 100% at 100% 100%, #3C1F0E, transparent 70%), linear-gradient(160deg, #B58457, #2A1809); }
.ph-cool    { background: radial-gradient(140% 90% at 70% 15%, #A8A99C, transparent 60%), linear-gradient(160deg, #6F6B5E, #2A2924); }
.ph-bone    { background: radial-gradient(120% 90% at 30% 20%, #F3EBD8, transparent 60%), linear-gradient(160deg, #D6C9AF, #8E8068); color: var(--ink); }
.ph-ink     { background: radial-gradient(140% 90% at 70% 15%, #3A332C, transparent 55%), linear-gradient(165deg, #1A1612, #050402); }
.ph-ember   { background: radial-gradient(110% 90% at 25% 20%, #C36746, transparent 55%), linear-gradient(160deg, #7A2A1A, #2C0A05); }
.ph-bord    { background: radial-gradient(110% 90% at 25% 20%, #79232A, transparent 55%), linear-gradient(160deg, #4A1419, #1A0608); }
.ph-sage    { background: radial-gradient(120% 90% at 30% 20%, #8E9784, transparent 60%), linear-gradient(160deg, #5E6856, #1E211A); }
.ph-paper   { background: radial-gradient(120% 90% at 30% 20%, #FBF5E5, transparent 55%), linear-gradient(160deg, #ECDFC0, #B9A878); color: var(--ink); }
.ph-paper .label,
.ph-paper .tag-tl,
.ph-bone .label,
.ph-bone .tag-tl { color: rgba(14,13,11,0.65); }
.ph-paper .label,
.ph-bone .label { background: rgba(14,13,11,0.06); }

/* aspect ratios */
.ar-1 { aspect-ratio: 1 / 1; }
.ar-43 { aspect-ratio: 4 / 3; }
.ar-34 { aspect-ratio: 3 / 4; }
.ar-23 { aspect-ratio: 2 / 3; }
.ar-32 { aspect-ratio: 3 / 2; }
.ar-169 { aspect-ratio: 16 / 9; }
.ar-219 { aspect-ratio: 21 / 9; }
.ar-2510 { aspect-ratio: 25 / 10; }
.ar-45 { aspect-ratio: 4 / 5; }
.ar-54 { aspect-ratio: 5 / 4; }
.ar-916 { aspect-ratio: 9 / 16; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: var(--ivory);
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 48s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 350;
  letter-spacing: -0.005em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .sep { color: var(--brass); font-size: 0.5em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TILES / CARDS
   ============================================================ */
.tile {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  cursor: pointer;
}
.tile .ph > img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover .ph > img { transform: scale(1.04); }
.tile .ph { transition: none; }
.tile .meta {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 2px 0;
}
.tile .meta h3 { font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: 0.01em; line-height: 1.35; color: var(--ink); }
.tile .meta .price { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.tile .meta .cat {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stone); display: block;
}

.tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: var(--ivory); color: var(--ink);
}
.tag-dark { background: var(--ink); color: var(--ivory); }
.tag-brass { background: var(--brass); color: var(--ivory); }
.tag-bord { background: var(--bordeaux); color: var(--ivory); }

/* ============================================================
   FOOTER — Nordic minimal, fond clair
   ============================================================ */
.footer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(72px, 10vw, 120px) 0 40px;
  position: relative;
  border-top: 1px solid var(--line);
}

/* Wordmark centré — plus sobre */
.footer-brand {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.footer-brand .mark {
  font-family: var(--font-mark);
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: 0.40em;
  padding-left: 0.40em;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.footer-brand .sub {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex; align-items: center; gap: 14px; margin-top: 16px;
}
.footer-brand .sub::before, .footer-brand .sub::after {
  content: ""; height: 1px; width: 36px; background: var(--line-strong);
  display: block;
}
.footer-brand .sub .star { color: var(--brass); }
.footer-brand .tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--stone);
  margin-top: 24px; max-width: 40ch;
}

/* Colonnes */
.footer .footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
@media (max-width: 900px) { .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px)  { .footer .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li { color: var(--ink-2); font-size: 13.5px; font-weight: 300; }
.footer ul a { font-size: 13.5px; font-weight: 300; color: var(--ink-2); opacity: 1; }
.footer ul a:hover { color: var(--brass); }

/* Bas de page */
.footer-meta {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--stone);
  text-transform: uppercase;
}

/* ============================================================
   PAGE INTRO
   ============================================================ */
.page-intro {
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-intro .crumbs {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 28px;
  display: flex; gap: 10px;
}
.page-intro .crumbs .sep { color: var(--brass); }
.page-intro .row {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
}
@media (max-width: 900px) { .page-intro .row { grid-template-columns: 1fr; } }
.page-intro h1 { margin-bottom: 0; }

/* numerals & marginalia */
.numeral {
  font-family: var(--font-display); font-style: italic;
  font-weight: 350; color: var(--brass);
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
}
.roman {
  font-family: var(--font-mark);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--brass);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.flex { display: flex; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; } .mb-64 { margin-bottom: 64px; }
.mb-80 { margin-bottom: 80px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .col-span-2, .col-span-3, .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8, .col-span-9, .col-span-12 { grid-column: span 6; }
}

.hr { height: 1px; background: var(--line); border: 0; }
.hr-strong { height: 1px; background: var(--ink); border: 0; }

/* fade in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.in { opacity: 1; transform: none; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--stone-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }
::-webkit-scrollbar-track { background: var(--ivory); }

/* ============================================================
   PROTECTION FOR LEGACY CLASSES STILL USED ON SUB-PAGES
   ============================================================ */
.eyebrow.eyebrow-stone, .ph-cream { /* alias for old name */ }
.ph-cream { background: radial-gradient(120% 90% at 30% 20%, #FBF5E5, transparent 55%), linear-gradient(160deg, #ECDFC0, #B9A878); color: var(--ink); }
.ph-cream .label, .ph-cream .tag-tl { color: rgba(14,13,11,0.65); }
.ph-cream .label { background: rgba(14,13,11,0.06); }

/* old color variables — fallbacks */
:root {
  --bone: var(--ivory);
  --bone-2: var(--ivory-2);
  --bone-3: var(--paper);
  /* legacy body font alias */
  --font-body-old: "Inter Tight", sans-serif;
}

/* ============================================================
   DJASTICE — v2 Design Elevation
   Interactions raffinées · Animations CSS natives · Motion luxe
   ============================================================ */

/* --- Easing & Timing Tokens --- */
:root {
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-silk:  cubic-bezier(0.37, 0, 0.63, 1);
  --t-xs: 0.18s;
  --t-s:  0.36s;
  --t-m:  0.68s;
  --t-l:  1.0s;
  --t-xl: 1.45s;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--bordeaux));
  z-index: 200;
  pointer-events: none;
  transform-origin: left center;
}

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--brass);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(166, 124, 60, 0.42);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.45s var(--ease-expo),
              height 0.45s var(--ease-expo),
              border-color 0.3s ease,
              opacity 0.3s ease;
}
body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring { opacity: 1; }
.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: var(--brass);
  border-width: 1px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition: opacity var(--t-xl) var(--ease-expo),
              transform var(--t-xl) var(--ease-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.36s; }
.stagger-5 { transition-delay: 0.49s; }
.stagger-6 { transition-delay: 0.63s; }

/* --- Hero Entrance Animations --- */
@keyframes djHeroUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes djHeroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-top      { animation: djHeroFade 1.0s ease             0.15s both; }
.hero-tagline  { animation: djHeroUp   1.2s var(--ease-expo) 0.30s both; }
.hero-headline { animation: djHeroUp   1.6s var(--ease-expo) 0.52s both; }
.hero-sub      { animation: djHeroUp   1.2s var(--ease-expo) 0.85s both; }
.hero-cta-row  { animation: djHeroUp   1.0s var(--ease-expo) 1.12s both; }
.hero-bottom   { animation: djHeroFade 1.0s ease             1.32s both; }
.hero-press-card { animation: djHeroUp 1.2s var(--ease-expo) 1.55s both; }

/* --- Enhanced Buttons --- */
.btn {
  transition: background var(--t-s) ease, color var(--t-s) ease,
              border-color var(--t-s) ease, transform 0.12s ease,
              box-shadow var(--t-m) ease;
}
.btn:hover { box-shadow: 0 10px 36px -10px rgba(21,18,16,0.22); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* --- Navigation — underline glissante --- */
.nav a {
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-bottom: 2px;
  transition: opacity var(--t-xs) ease,
              background-size var(--t-m) var(--ease-expo);
}
.nav a:hover,
.nav a.active { background-size: 100% 1px; opacity: 1; }
.nav a.active::after { display: none; }

/* --- Footer Links --- */
.footer ul a {
  position: relative;
  transition: color var(--t-s) ease, padding-left var(--t-m) var(--ease-expo);
}
.footer ul a::before {
  content: '—';
  position: absolute;
  left: -18px;
  opacity: 0;
  color: var(--brass);
  font-size: 10px;
  transition: opacity var(--t-s) ease, left var(--t-m) var(--ease-expo);
}
.footer ul a:hover {
  color: var(--brass);
  padding-left: 10px;
}
.footer ul a:hover::before {
  opacity: 1;
  left: -6px;
}

/* --- Universe Rows Enhanced --- */
.univ-row:hover {
  background: linear-gradient(90deg, rgba(166,124,60,0.055), rgba(14,13,11,0.01) 55%);
}
.univ-row .title {
  transition: letter-spacing var(--t-m) var(--ease-expo);
}
.univ-row:hover .title { letter-spacing: 0.008em; }
.univ-row .arrow-cell {
  transition: transform var(--t-m) var(--ease-expo), color var(--t-s) ease;
}

/* --- Tile Cards --- */
.tile {
  transition: transform var(--t-m) var(--ease-expo);
}
.tile:hover { transform: translateY(-6px); }
.tile .ph > img {
  transition: transform 1.5s var(--ease-expo), filter 1.1s ease;
  filter: brightness(0.92) saturate(0.88);
}
.tile:hover .ph > img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.06);
}
.tile .meta h3 { transition: color var(--t-s) ease; }
.tile:hover .meta h3 { color: var(--bordeaux); }
.tag { transition: transform var(--t-m) var(--ease-expo); }
.tile:hover .tag { transform: translateY(-3px); }

/* --- Intent Cards --- */
.intent-card .body {
  transition: transform var(--t-m) var(--ease-expo);
}
.intent-card:hover .body { transform: translateY(-12px); }
.intent-card::after {
  transition: background var(--t-m) ease;
}
.intent-card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.06) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.62) 100%
  );
}

/* --- Trust Strip Items --- */
.trust-row .item {
  transition: transform var(--t-m) var(--ease-expo);
}
.trust-row .item:hover { transform: translateY(-4px); }
.trust-row .item svg {
  transition: transform var(--t-m) var(--ease-expo), color var(--t-s) ease;
}
.trust-row .item:hover svg { transform: scale(1.2) rotate(-8deg); }
.trust-row .item strong { transition: color var(--t-s) ease; }
.trust-row .item:hover strong { color: var(--brass); }

/* --- Testimonials --- */
.testi-card {
  transition: transform var(--t-m) var(--ease-expo),
              box-shadow var(--t-m) ease;
}
.testi-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 72px -22px rgba(21,18,16,0.13);
}
.testi-card blockquote { transition: color var(--t-s) ease; }

/* --- Marquee Hover Pause --- */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* --- Press Logos Slide Animation --- */
.press-logos .name {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.2;
  vertical-align: middle;
}
.press-logos .name > span {
  display: block;
  transition: transform var(--t-m) var(--ease-expo);
}
.press-logos .name::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-style: italic;
  transform: translateY(108%);
  transition: transform var(--t-m) var(--ease-expo);
}
.press-logos .name:hover > span { transform: translateY(-108%); }
.press-logos .name:hover::after { transform: translateY(0); }
.press-logos .name { opacity: 0.8; transition: opacity var(--t-s) ease; }
.press-logos .name:hover { opacity: 1; }

/* --- Journal / Signature Image Hover --- */
.journal article .ph img {
  transition: transform 1.5s var(--ease-expo), filter 1.1s ease;
  filter: brightness(0.9);
}
.journal article:hover .ph img {
  transform: scale(1.05);
  filter: brightness(1);
}
.signature-grid .ph > img {
  transition: transform 1.8s var(--ease-expo), filter 1.2s ease;
  filter: brightness(0.90) saturate(0.88);
}
.signature-grid .ph:hover > img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}

/* --- Header Shadow on Scroll --- */
.header.scrolled {
  box-shadow: 0 2px 48px rgba(21,18,16,0.07);
}

/* --- Mobile Boutique Horizontal Scroll --- */
@media (max-width: 768px) {
  .boutique-strip .g-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .boutique-strip .g-4::-webkit-scrollbar { display: none; }
  .boutique-strip .tile {
    min-width: 74vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* --- WhatsApp Floating Button --- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 490;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(0,0,0,0.16);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease;
  animation: waAppear 0.7s var(--ease-expo) 1.8s both;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.48), 0 4px 16px rgba(0,0,0,0.20);
}
.wa-float:active { transform: scale(0.96); }
@keyframes waAppear {
  from { opacity: 0; transform: scale(0.6) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Refined Selection & Scrollbar --- */
::selection { background: var(--brass); color: var(--ivory); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
   CART — Badge · Drawer · Add Button
   ============================================================ */

/* Badge */
.dj-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 16px; height: 16px;
  padding: 0 3px;
  background: var(--brass);
  color: var(--ivory);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  animation: djHeroFade 0.3s ease both;
}

/* Overlay */
.dj-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 18, 16, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.dj-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer */
.dj-cart {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 94vw);
  height: 100%;
  height: 100dvh;
  background: var(--ivory);
  z-index: 700;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -6px 0 56px rgba(21,18,16,0.10);
}
.dj-cart.open {
  transform: translateX(0);
}

/* Head */
.dj-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.dj-cart-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dj-cart-title em {
  color: var(--bordeaux);
}
.dj-cart-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.dj-cart-close:hover {
  opacity: 1;
  background: var(--ivory-3);
}

/* Empty state */
.dj-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 28px;
  text-align: center;
  color: var(--stone);
}
.dj-cart-empty p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--stone);
  max-width: none;
}

/* Items scroll area */
.dj-cart-items {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

/* Single cart item */
.dj-ci {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.dj-ci:hover { background: var(--ivory-2); }

.dj-ci-img {
  width: 84px; height: 84px;
  overflow: hidden;
  background: var(--ivory-3);
  flex-shrink: 0;
}
.dj-ci-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.dj-ci-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}
.dj-ci-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.dj-ci-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dj-ci-price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 5px;
}

/* Qty & delete controls */
.dj-ci-ctrl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.dj-ci-q {
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.dj-ci-q:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.dj-ci-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  min-width: 18px;
  text-align: center;
}
.dj-ci-del {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone);
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
  margin-top: 3px;
}
.dj-ci-del:hover {
  opacity: 1;
  color: var(--bordeaux);
}

/* Footer */
.dj-cart-foot {
  padding: 22px 28px 36px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.dj-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.dj-cart-subtotal span {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.dj-cart-subtotal strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dj-cart-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--stone);
  margin-top: 8px;
  max-width: none;
  font-weight: 300;
}
.dj-cart-clear {
  display: block;
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  transition: color 0.2s ease;
}
.dj-cart-clear:hover { color: var(--bordeaux); }

/* ============================================================
   RECHERCHE PRODUITS
   ============================================================ */
.dj-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 18, 16, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.dj-search-overlay.open { opacity: 1; pointer-events: auto; }

.dj-search {
  position: fixed;
  top: 96px; left: 50%;
  width: min(600px, 92vw);
  max-height: 72vh;
  background: var(--ivory);
  z-index: 700;
  border-radius: 3px;
  box-shadow: 0 40px 100px -24px rgba(21,18,16,0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dj-search.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dj-search-head {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  flex-shrink: 0;
}
.dj-search-input {
  flex: 1;
  border: 0; background: transparent; outline: none;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 19px; color: var(--ink);
}
.dj-search-input::placeholder { color: var(--stone-2); }
.dj-search-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); opacity: 0.5;
  transition: opacity 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.dj-search-close:hover { opacity: 1; background: var(--ivory-3); }
.dj-search-results { overflow-y: auto; padding: 8px 10px; }
.dj-search-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px; border-radius: 3px;
  text-decoration: none; color: inherit;
  transition: background 0.18s ease;
}
.dj-search-item:hover { background: var(--ivory-2); }
.dj-search-thumb {
  width: 52px; height: 60px; flex-shrink: 0;
  overflow: hidden; border-radius: 2px; background: var(--ivory-2);
}
.dj-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dj-search-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dj-search-name {
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
}
.dj-search-cat {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone);
}
.dj-search-price {
  font-family: var(--font-mono); font-size: 12px; color: var(--stone);
  flex-shrink: 0;
}
.dj-search-empty {
  padding: 32px 16px; text-align: center;
  color: var(--stone); font-size: 14px; line-height: 1.6;
}
@media (max-width: 640px) {
  .dj-search { top: 76px; width: 94vw; max-height: 78vh; }
}

/* Tile — Add to cart button (apparu sur hover image) */
.dj-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 8;
  background: rgba(21, 18, 16, 0.92);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-expo),
              transform 0.35s var(--ease-expo),
              background 0.2s ease;
  pointer-events: none;
  cursor: pointer;
  border: none;
}
.tile:hover .dj-add {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dj-add:hover {
  background: var(--brass);
}
.dj-add.added {
  background: var(--bordeaux);
  pointer-events: none;
}

/* Tile — Wishlist button (Westwing-style, apparaît au hover) */
.tile-wish {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.28s var(--ease-expo),
              transform 0.28s var(--ease-expo),
              background 0.2s ease;
  pointer-events: none;
}
.tile:hover .tile-wish {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.tile-wish:hover { background: #fff; }
.tile-wish.wished svg { fill: var(--bordeaux); stroke: var(--bordeaux); }

/* Tile — réduire la vignette sombre sur les photos produit */
.tile .ph::after {
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(255,255,255,0.03), transparent 50%),
    radial-gradient(120% 100% at 100% 100%, rgba(0,0,0,0.12), transparent 60%);
}

/* ============================================================
   POLISH · AMÉLIORER · CORRIGER
   ============================================================ */

/* --- Responsive: Decoration approach grid (5 colonnes) --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (max-width: 1100px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .approach-grid { grid-template-columns: 1fr; } }

.approach-grid > div {
  background: var(--bone);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
}

/* --- Responsive: Decoration materials grid (6 colonnes) --- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 1100px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .materials-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Responsive: Decoration portfolio 12-col grid → collapse --- */
@media (max-width: 900px) {
  [style*="grid-template-columns: repeat(12, 1fr)"] {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
  }
  [style*="grid-column: span 7"],
  [style*="grid-column: span 5"],
  [style*="grid-column: span 4"] {
    grid-column: auto !important;
  }
}

/* --- link-quiet: underline glissante au hover --- */
.link-quiet {
  position: relative;
}
.link-quiet::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--t-m) var(--ease-expo);
}
.link-quiet:hover { color: var(--ink); }
.link-quiet:hover::after { width: 100%; }

/* --- Footer: underline laiton sur les liens --- */
.footer ul a {
  position: relative;
}
.footer ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width var(--t-m) var(--ease-expo);
}
.footer ul a:hover::after { width: 100%; }

/* --- Page intro: animation d'entrée sur les sous-pages --- */
.page-intro .crumbs {
  animation: djHeroFade 0.8s ease 0.05s both;
}
.page-intro h1 {
  animation: djHeroUp 1.2s var(--ease-expo) 0.15s both;
}
.page-intro .lead {
  animation: djHeroUp 1.0s var(--ease-expo) 0.35s both;
}

/* --- FAQ accompagnement: animation d'ouverture --- */
details.faq .content {
  animation: faqOpen 0.3s var(--ease-expo);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Focus visible uniquement au clavier --- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* --- Chip (boutique): focus clavier --- */
.chip:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* --- Placeholder: plus discret --- */
input::placeholder,
textarea::placeholder {
  color: var(--stone);
  opacity: 1;
}

/* --- Scroll margin pour header sticky (ancres) --- */
[id]:target { scroll-margin-top: 80px; }

/* --- WhatsApp: offset léger pour ne pas couvrir la scrollbar desktop --- */
@media (min-width: 1200px) { .wa-float { right: 36px; } }

/* --- Testimonial: alléger la bordure haute --- */
.testi-card { border-top-color: var(--line-2); }

/* --- Améliorer .muted avec DM Sans 300 --- */
.muted {
  color: var(--stone);
  line-height: 1.65;
}

/* --- Titre price tile --- */
.tile .meta .price {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}

/* --- Brand-rule: filets plus fins --- */
.brand-rule::before,
.brand-rule::after { width: 18px; }

/* --- Univ-row: supprimer l'animation layout (padding) --- */
.univ-row {
  transition: background var(--t-m) ease;
}

/* --- Section entry spacing --- */
.section h2 { margin-bottom: 0; }
.section h2 + p,
.section h2 + .lead { margin-top: 24px; }

/* --- Decoration: filter buttons mobile wrap --- */
@media (max-width: 700px) {
  .decoration-filters { display: none; }
}

/* --- Accompagnement formule photo: overflow hidden propre --- */
.formule .photo-col {
  border-radius: 2px;
  overflow: hidden;
}

/* --- Améliorer le lien dans le hero press-card --- */
.hero-press-card .src {
  display: block;
  margin-top: 16px;
}

/* --- Contact: channel-card focus --- */
.channel-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: -2px;
}

/* ============================================================
   FICHE PRODUIT (PDP) — présentation façon Westwing, identité Djastice
   Galerie mosaïque + panneau info sticky + bandeau confiance + accordéons
   ============================================================ */
.pdp {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 1000px) { .pdp { grid-template-columns: 1fr; } }

.pdp-crumbs {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--stone);
  display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap;
}
.pdp-crumbs .sep { color: var(--brass); }

/* Galerie — deux grandes images côte à côte, puis une rangée de 3 */
.pdp-gallery-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 700px) {
  .pdp-gallery-hero { grid-template-columns: 1fr; }
  .pdp-gallery-row { grid-template-columns: 1fr 1fr; }
}

/* Panneau info (sticky) */
.pdp-info { position: sticky; top: 120px; align-self: start; max-width: 480px; }
.pdp-info .head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pdp-info .brand-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--brass);
}
.pdp-info .wish-btn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pdp-info .wish-btn:hover, .pdp-info .wish-btn.wished { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pdp-info .wish-btn.wished svg { fill: var(--bordeaux); stroke: var(--bordeaux); }

.pdp-info h1 {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 10px; margin-bottom: 10px;
}
.pdp-info h1 em { font-style: italic; color: var(--bordeaux); font-weight: 400; }

.pdp-info .rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.pdp-info .rating-row .stars { color: var(--brass); font-size: 13px; letter-spacing: 2px; }
.pdp-info .rating-row .count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--stone); }

.pdp-info .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.pdp-info .price { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -0.01em; }
.pdp-info .price-eur { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--stone); }
.pdp-info .vat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--stone); width: 100%; }
.pdp-info .vat a { color: var(--stone); text-decoration: underline; text-underline-offset: 2px; }

.pdp-section { margin-bottom: 26px; }
.pdp-section h2 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 14px; font-weight: 500;
}

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { cursor: pointer; }
.swatch .fill {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative; display: block;
  transition: border-color .2s ease;
}
.swatch:hover .fill { border-color: var(--ink); }
.swatch.active .fill { border-color: var(--ink); }
.swatch.active .fill::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink);
}
.pdp-info .variant-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin-top: 12px; display: block;
}

.size-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill {
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.size-pill:hover { border-color: var(--ink); }
.size-pill.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.pdp-actions { margin: 24px 0 28px; }
.pdp-actions .btn { width: 100%; justify-content: center; padding: 20px; }

.pdp-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 24px; border-top: 1px solid var(--line);
}
.pdp-trust > div {
  padding: 0 14px; border-left: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone);
}
.pdp-trust > div:first-child { padding-left: 0; border-left: 0; }
.pdp-trust > div strong {
  display: block; margin-top: 6px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}

details.info { border-top: 1px solid var(--line-2); padding: 16px 0; }
details.info:last-of-type { border-bottom: 1px solid var(--line-2); }
details.info summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--ink);
}
details.info summary::after { content: "+"; font-family: var(--font-mono); font-size: 14px; color: var(--brass); flex-shrink: 0; }
details.info[open] summary::after { content: "—"; }
details.info .content { padding: 14px 0 4px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
@media (max-width: 700px) { .pdp-info { position: static; max-width: none; } }

/* --- Ensure images fill .ph correctly at all sizes --- */
.ph { display: block; }
.ph > img { border-radius: inherit; }
