/* SHIFT × SAM K : styles communs (polices, jetons, en-tête, boutons, curseur, grain, toast). */

@font-face {
  font-family: 'Jost';
  src: url('/fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Marcellus';
  src: url('/fonts/marcellus-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c0b0a;
  --ink-2: #141312;
  --paper: #f4f2ee;
  --cream: #efe7da;
  --text: #141312;
  --light: #f4f1ec;
  --gold: #d4ad6a;
  --gold-deep: #b88d48;
  --gold-dark: #9a7434;
  --wa: #25d366;
  --wa-ink: #0c0b0a; /* texte sur le vert WhatsApp : le blanc n'offre qu'un contraste de 2/1 */
  --red: #e0402a;
  --go: #3ddc84;
  --stock: #a2552f;
  --font: 'Jost', Helvetica, Arial, sans-serif;
  --serif: 'Marcellus', Georgia, serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .9, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font); }
button { cursor: pointer; }
img, svg, video { display: block; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 10000; padding: 10px 16px; border-radius: 10px;
  background: #fff; color: #141312; font-size: 14px; font-weight: 500;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Image qui remplit son parent (équivalent du background-size: cover de la maquette) */
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Animations communes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenL { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@keyframes pulseWa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Logo SHIFT (SVG) ---------- */
.lg { overflow: visible; }
.lg-fill { height: 100%; width: auto; overflow: visible; }
@keyframes shBar { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes shShift { 0%, 88%, 100% { transform: none; } 90% { transform: translateX(7px); } 92% { transform: translateX(-5px); } 94% { transform: translateX(2px); } }
@keyframes barIn { from { opacity: 0; transform: translateY(60px) rotate(20deg); } to { opacity: 1; transform: rotate(20deg); } }
@keyframes pBarUp { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
.lg-bar-hero { animation: shBar .8s cubic-bezier(.2, .8, .2, 1) both; }
.lg-bar-hero[data-i="0"] { animation-delay: .35s; } .lg-bar-hero[data-i="1"] { animation-delay: .47s; }
.lg-bar-hero[data-i="2"] { animation-delay: .59s; } .lg-bar-hero[data-i="3"] { animation-delay: .71s; }
.lg-word-hero { animation: fadeUp .9s .85s both; }
.lg-tag { animation: fadeIn 1s 1.2s both; }
.lg-bar-dark { transform-box: fill-box; transform-origin: center; animation: barIn .7s cubic-bezier(.2, .9, .2, 1) both; }
.lg-bar-dark[data-i="1"] { animation-delay: .1s; } .lg-bar-dark[data-i="2"] { animation-delay: .2s; } .lg-bar-dark[data-i="3"] { animation-delay: .3s; }
.lg-word-dark { animation: fadeUp .6s .45s both; }
.lg-bar-portal { animation: pBarUp .55s cubic-bezier(.2, .9, .2, 1) both; }
.lg-bar-portal[data-i="0"] { animation-delay: .8s; } .lg-bar-portal[data-i="1"] { animation-delay: .87s; }
.lg-bar-portal[data-i="2"] { animation-delay: .94s; } .lg-bar-portal[data-i="3"] { animation-delay: 1.01s; }
.lg-word-portal { animation: fadeIn .35s 1.12s both; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 32px;
  background: rgba(12, 11, 10, .7); color: var(--light);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header[data-tone="boutique"] { background: rgba(12, 11, 10, .82); }
.site-header[data-tone="home"] { background: rgba(12, 11, 10, .72); animation: fadeIn .8s ease both; }
.site-header--overlay { background: linear-gradient(180deg, rgba(12, 11, 10, .85), rgba(12, 11, 10, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; position: absolute; }

.brand-link { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--light); }
.brand-mark { display: flex; height: 42px; }
.brand-link--home .brand-mark { height: 46px; }
.brand-x { color: rgba(255, 255, 255, .6); font-size: 20px; font-weight: 300; }
.brand-samk { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-samk b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--gold); letter-spacing: .04em; }
.brand-samk i { font-style: normal; font-size: 7px; letter-spacing: .5em; color: var(--gold); margin-top: 3px; padding-left: .5em; }
.brand-link--home .brand-samk b { font-size: 26px; }
.brand-link--home .brand-samk i { font-size: 7.5px; }

.site-nav { display: flex; gap: clamp(14px, 2.2vw, 34px); margin: 0 auto; font-size: 14px; white-space: nowrap; }
.site-header[data-tone="boutique"] .site-nav { gap: clamp(12px, 1.6vw, 34px); }
.site-nav a { padding-bottom: 6px; color: rgba(255, 255, 255, .82); border-bottom: 1.5px solid transparent; transition: color .25s; }
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

.header-tools { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--light); transition: transform .3s, opacity .3s; }
.hamburger span:last-child { width: 14px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }
.hamburger--always { display: flex; }
@media (min-width: 901px) { .hamburger--always { padding: 6px; } }
.site-nav ~ .hamburger { margin-left: auto; }
.header-tools ~ .hamburger { margin-left: 0; }

.cart-pill {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; font-size: 13px;
}
.cart-badge {
  min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: var(--ink-2);
  font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
.cart-badge.bump { animation: bump .5s var(--ease); }
.cart-link { position: relative; display: flex; color: #fff; }
.cart-link .cart-badge { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; border-radius: 9px; font-size: 10px; background: var(--gold); color: #111; }

.night-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; cursor: pointer;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; color: #fff; transition: all .3s; white-space: nowrap;
}
.night-btn i { width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 1px solid #fff; display: block; }
.night-btn[aria-pressed="true"] { border-color: var(--gold); background: rgba(212, 173, 106, .15); color: var(--gold); }
.night-btn[aria-pressed="true"] i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px var(--gold); }

.header-search {
  position: relative; display: flex; align-items: center; gap: 10px; height: 40px; width: 274px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; font-size: 12.5px; color: rgba(255, 255, 255, .65);
}
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 12.5px; }
.header-search input::placeholder { color: rgba(255, 255, 255, .65); }
.header-search input::-webkit-search-cancel-button { display: none; }
.search-results {
  position: absolute; top: calc(100% + 10px); left: 0; width: 340px; max-width: 90vw; padding: 6px; border-radius: 16px;
  background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); z-index: 60;
}
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; color: var(--text); }
.search-results a:hover, .search-results a[aria-selected="true"] { background: #f4f2ee; color: var(--text); }
.search-results .sr-img { position: relative; width: 44px; height: 54px; border-radius: 8px; overflow: hidden; background: #ece8e1; flex-shrink: 0; }
.search-results .sr-name { font-size: 13.5px; font-weight: 500; }
.search-results .sr-meta { display: block; font-size: 11.5px; color: #7a746c; }
.search-results .sr-price { margin-left: auto; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.search-results .sr-empty { padding: 14px; font-size: 13px; color: #7a746c; }
.lang { font-size: 12px; font-weight: 500; letter-spacing: .05em; }

/* Menu mobile */
.menu-panel {
  position: fixed; inset: 0; z-index: 49; background: rgba(12, 11, 10, .97); color: var(--light);
  padding: calc(var(--header-h) + 28px) 28px 32px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-panel a.m-link { font-size: clamp(30px, 8vw, 44px); font-weight: 300; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.menu-panel a.m-link[aria-current="page"] { color: var(--gold); }
.menu-panel .m-brands { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.menu-panel .m-brands a { height: 48px; padding: 0 22px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .3); display: flex; align-items: center; font-size: 12.5px; letter-spacing: .14em; }

@media (max-width: 1100px) {
  .header-search { display: none; }
}
@media (max-width: 900px) {
  .site-header { padding: 0 18px; gap: 14px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .header-tools { margin-left: auto; gap: 12px; }
  .brand-mark { height: 36px; }
  .brand-link--home .brand-mark { height: 38px; }
  .brand-samk b { font-size: 21px; }
  .night-btn { padding: 0 12px; }
  .night-btn span { display: none; }
  .cart-pill { padding: 0 12px; }
}

/* ---------- Boutons ---------- */
.btn-gold {
  height: 54px; padding: 0 28px; border-radius: 27px; border: 0; background: var(--gold); color: var(--ink-2);
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  transition: all .3s;
}
.btn-gold:hover { background: var(--light); color: var(--ink-2); }
.btn-ghost {
  height: 54px; padding: 0 24px; border-radius: 27px; border: 1px solid rgba(255, 255, 255, .35); background: transparent;
  color: var(--light); font-size: 12.5px; letter-spacing: .12em; cursor: pointer; display: inline-flex; align-items: center;
}
.btn-wa { background: var(--wa); color: var(--wa-ink); display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 26px; font-weight: 500; }
.btn-wa:hover { color: var(--wa-ink); filter: brightness(1.08); }

/* ---------- Texte « découvrir » avec trait ---------- */
.more-line { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .2em; }
.more-line::after { content: ''; width: 44px; height: 1px; background: currentColor; }
.more-line--before::after { display: none; }
.more-line--before::before { content: ''; width: 44px; height: 1px; background: currentColor; }

/* ---------- Grain, curseur ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 400; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(4) infinite;
}
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; display: none; mix-blend-mode: difference; will-change: transform; }
.cur-shape {
  width: 10px; height: 30px; margin: -15px 0 0 -5px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), border-radius .4s;
}
.cur-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; padding-left: .18em; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cur-trail { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; display: none; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); will-change: transform; }
.no-native-cursor, .no-native-cursor * { cursor: none !important; }

/* ---------- Apparition au défilement ---------- */
.rv { opacity: 0; translate: 0 50px; transition: opacity .8s var(--rvd, 0s) ease, translate 1s var(--rvd, 0s) var(--ease), box-shadow .4s, transform .4s cubic-bezier(.2, .8, .2, 1), background .6s; }
.rv.in { opacity: 1; translate: 0 0; }
.rv[data-reveal="clip"] { translate: 0 60px; clip-path: inset(18% 0 0 0 round 14px); transition: opacity .7s var(--rvd, 0s) ease, translate 1s var(--rvd, 0s) var(--ease), clip-path 1.1s var(--rvd, 0s) var(--ease), background .6s, box-shadow .4s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.rv[data-reveal="clip"].in { translate: 0 0; clip-path: inset(0 0 0 0 round 14px); }
.rv[data-reveal="up"] { translate: 0 28px; }
.rv[data-reveal="up"].in { translate: 0 0; }

/* ---------- Bandeau défilant ---------- */
.mq { overflow: hidden; }
.mq-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }

/* ---------- Notification ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 30px; background: var(--ink-2); color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  animation: toastIn .45s var(--ease) both; max-width: calc(100vw - 24px);
}
.toast-check { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.toast span { font-size: 13px; }
.toast button { border: 0; background: transparent; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .1em; cursor: pointer; white-space: nowrap; }

/* ---------- Bandeau d'engagements (bas de page) ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; padding: 28px clamp(20px, 3vw, 44px); background: var(--ink); color: var(--light); }
.perks div { display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; }
.perks b { font-weight: 600; }
.perks span { color: rgba(255, 255, 255, .65); }

/* ---------- Mouvement réduit / sans curseur fin ---------- */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: .01s !important; scroll-behavior: auto !important; }
html[data-motion="off"] .grain { display: none; }
html[data-motion="off"] .rv { opacity: 1; translate: none; clip-path: none; }
@media (pointer: coarse) { .grain { display: none; } }
