/* =========================================================================
   Histoires de Cuirs — Refonte 2026
   Design system fidèle à l'identité : cuir + jean recyclés, fait-main.
   Palette extraite du site existant (rouge brique, or, sarcelle, pêche).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs de marque */
  --red:        #b6302f;
  --red-dark:   #8f2625;
  --gold:       #dda742;
  --gold-dark:  #c08a2c;
  --teal:       #467271;
  --teal-dark:  #34534f;
  --peach:      #ecb392;

  /* Neutres chauds */
  --ink:        #2a2320;
  --ink-soft:   #4a423c;
  --muted:      #7a6f66;
  --line:       #e7ddd0;
  --cream:      #faf5ee;
  --cream-2:    #f4ebdf;
  --paper:      #ffffff;

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-hand:    "Caveat", cursive;

  /* Mesures */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(42, 35, 32, .06);
  --shadow:    0 14px 40px rgba(42, 35, 32, .12);
  --shadow-lg: 0 30px 70px rgba(42, 35, 32, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 104px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: none; }
/* Page : barre de défilement latérale masquée (le défilement reste actif) */
html::-webkit-scrollbar { display: none; }
/* Barres de défilement internes aux couleurs de la marque (panier, pop-up, menus) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 100px; border: 3px solid var(--cream-2); background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); background-clip: padding-box; }
.drawer__body, .pmodal__dialog, .hdc-select__menu, .pmodal__thumbs { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
/* Section posée sur le fond marron (ancien emplacement de « La fondatrice ») */
.section--ink { background: var(--ink); color: #fff; }
.section--ink .eyebrow { color: var(--gold); }
.section--ink h2, .section--ink .section-title { color: #fff; }
.section--ink .lead { color: rgba(255,255,255,.82); }
.section--ink .link-arrow { color: var(--gold); }
.section--ink .link-arrow:hover { border-color: var(--gold); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
  margin-bottom: 14px;
}
.hand { font-family: var(--font-hand); color: var(--gold-dark); font-weight: 700; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--bg); color: var(--fg);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: .98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 8px 22px rgba(182, 48, 47, .25);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(182, 48, 47, .34); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--gold  { --bg: var(--gold); --fg: #3a2c10; box-shadow: 0 8px 22px rgba(221,167,66,.3); }
.btn--gold:hover { box-shadow: 0 14px 30px rgba(221,167,66,.4); }
.btn--teal  { --bg: var(--teal); box-shadow: 0 8px 22px rgba(70,114,113,.28); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1.5px solid var(--ink); box-shadow: none;
  padding: 12px 26px;
}
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--red); border-bottom: 2px solid transparent;
  transition: border-color .25s, gap .25s;
}
.link-arrow:hover { border-color: var(--red); gap: .7em; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; transition: opacity .3s; }
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }

/* Header centré : logo au milieu (centre absolu), nav de part et d'autre (desktop) */
.site-header.is-split .wrap { display: flex; align-items: center; justify-content: center; position: relative; gap: clamp(18px, 2vw, 32px); width: min(100% - 48px, 1480px); }
/* deux moitiés de largeur égale (flex:1) de part et d'autre du logo : la nav se
   colle au logo (justifiée vers le centre) et le logo reste pile au milieu. */
.site-header.is-split .nav--left { flex: 1 1 0; justify-content: flex-end; }
.site-header.is-split .header-end { flex: 1 1 0; justify-content: flex-start; }
.site-header.is-split .brand { flex: 0 0 auto; }
.site-header.is-split .brand img { height: 82px; }
.header-end { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); }
.site-header .nav--mobile { display: none; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 16px; border-radius: 100px; font-weight: 500; font-size: .96rem;
  color: #fff; transition: background .2s, color .2s;
  position: relative; white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,.16); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-social { display: flex; gap: 4px; }
.header-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .2s, color .2s; }
.header-social a:hover { background: rgba(255,255,255,.16); }
.header-social svg { width: 18px; height: 18px; }
.site-header.scrolled .header-social a, .site-header.solid .header-social a { color: var(--ink); }
.site-header.scrolled .header-social a:hover, .site-header.solid .header-social a:hover { background: rgba(42,35,32,.06); }
@media (max-width: 1024px) { .header-social { display: none; } }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  color: #fff; padding: 9px 16px 9px 14px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.4); font-weight: 600; font-size: .9rem;
  transition: background .2s, border-color .2s, color .2s;
}
.cart-btn:hover { background: rgba(255,255,255,.16); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 100px;
  background: var(--gold); color: #3a2c10; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center;
}

/* État "scrollé" : header crème opaque, texte sombre */
.site-header.scrolled {
  background: rgba(250, 245, 238, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(42, 35, 32, .08);
}
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark  { display: block; }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav a:hover { background: rgba(42,35,32,.06); }
.site-header.scrolled .cart-btn { color: var(--ink); border-color: rgba(42,35,32,.25); }
.site-header.scrolled .cart-btn:hover { background: rgba(42,35,32,.06); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* En-tête sur pages internes (pas de hero) : toujours opaque */
.site-header.solid {
  background: rgba(250, 245, 238, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(42,35,32,.07);
}
.site-header.solid .brand .logo-light { display: none; }
.site-header.solid .brand .logo-dark  { display: block; }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a:hover { background: rgba(42,35,32,.06); }
.site-header.solid .cart-btn { color: var(--ink); border-color: rgba(42,35,32,.25); }
.site-header.solid .nav-toggle span { background: var(--ink); }

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 120; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: .3s var(--ease); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--ink); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--ink); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; padding-top: var(--header-h); padding-bottom: 58px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3; background: #1c1410;
}
/* Diaporama de fond : fondu enchaîné entre plusieurs visuels */
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 38%;
  opacity: 0; transition: opacity 1.6s ease;
  will-change: opacity; backface-visibility: hidden;
}
.hero__slide.active { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(28,20,16,.85) 0%, rgba(28,20,16,.55) 45%, rgba(28,20,16,.15) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide.active { animation: none; }
}
.hero__grid { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 64px); width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.hero__inner { max-width: 600px; padding: 56px 0; flex: 1 1 auto; }
.hero__trust {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 42px;
  padding: 18px clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(to top, rgba(28, 20, 16, .55), transparent);
}
.hero__trust li {
  display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 600; font-size: .95rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.hero__trust .ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; color: var(--gold); }
.hero__trust .ic svg { width: 21px; height: 21px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--gold);
  margin-bottom: 8px;
}
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600;
  margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.92); max-width: 48ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .mouse {
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} }

/* Badges de confiance sous le hero */
.trust {
  background: var(--ink); color: rgba(255,255,255,.9);
}
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; padding: 22px 0; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; }
.trust svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* =========================================================================
   Séparateur "fil" : le fil de la marque qui ondule en pleine largeur.
   .fil-sep          → simple ondulation (sections courantes)
   .fil-sep--start   → ondulation + bobine au départ (1re séparation = "le fil commence")
   ========================================================================= */
.fil-sep { width: 100%; line-height: 0; margin: clamp(14px, 3.5vw, 34px) 0; }
.fil-sep .fil-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fil-sep .fil-svg path { stroke: var(--gold-dark); }
/* Motif bobine + fil de la marque — version d'origine (1re séparation) */
.fil-divider { width: 100%; max-width: 860px; margin: clamp(16px, 3.5vw, 36px) auto; opacity: .92; }
.fil-divider img { width: 100%; height: auto; display: block; }

/* Sangle de cuir rouge cousue, EN ZIGZAG (la bande entière zigzague) */
.band-stitch { width: 100%; line-height: 0; margin: clamp(16px, 3.5vw, 34px) 0; }
.band-stitch svg { width: 100%; height: auto; display: block;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.5,.05,.25,1); }
.band-stitch.in svg { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .band-stitch svg { clip-path: none; transition: none; } }


/* =========================================================================
   Intro / démarche
   ========================================================================= */
.intro { background: var(--cream); position: relative; }
.intro__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 92px); align-items: center; }
.intro__media { position: relative; width: 100%; max-width: 400px; }
/* Cadre « passe-partout » légèrement incliné, esprit photo d'atelier */
.intro__media::before {
  content: ""; position: absolute; inset: -16px; z-index: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-sm);
  transform: rotate(-2.4deg);
}
.intro__media img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.intro__media .badge {
  z-index: 2;
  position: absolute; bottom: -22px; right: -16px;
  background: var(--gold); color: #3a2c10; border-radius: 50%;
  width: 122px; height: 122px; display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 600; line-height: 1.1; font-size: .92rem;
  box-shadow: var(--shadow); transform: rotate(-8deg);
}
.intro__media .badge b { font-size: 1.5rem; display: block; }
.intro h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 18px; }
.values { display: grid; gap: 18px; margin-top: 26px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--red);
}
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.12rem; margin-bottom: 2px; }
.value p { font-size: .96rem; color: var(--muted); }

/* =========================================================================
   Catégories
   ========================================================================= */
.cats { background: var(--cream); }
/* Collections : texte à gauche + pile de cartes animée à droite */
.cats__layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cats__text .section-title { margin-bottom: 18px; }
.cats__text .lead { margin-bottom: 28px; }
.cats__stack { position: relative; height: 520px; }
.stack-card {
  position: absolute; left: 0; right: 0; top: 0; height: 320px; border-radius: 18px; overflow: hidden;
  display: block; color: #fff; box-shadow: var(--shadow-lg); background-size: cover; background-position: center;
  will-change: transform; transition: box-shadow .3s;
}
.stack-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,20,16,.72) 0%, rgba(28,20,16,.12) 45%, rgba(28,20,16,.5) 100%);
}
.stack-card__num { position: absolute; top: 16px; right: 22px; z-index: 2; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: rgba(255,255,255,.9); }
.stack-card__body { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 18px 24px; }
.stack-card__body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 2px; }
.stack-card__body > span { color: rgba(255,255,255,.85); font-size: .92rem; }
.stack-card__go { display: none; }
.stack-card:hover { box-shadow: 0 0 0 3px rgba(221,167,66,.6), var(--shadow-lg); }
@media (max-width: 860px) {
  .cats__layout { grid-template-columns: 1fr; }
  .cats__stack { height: auto; display: grid; gap: 14px; }
  .stack-card { position: static; height: 200px; transform: none !important; opacity: 1 !important; }
}
.cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s;
  display: block; isolation: isolate;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,.78) 0%, rgba(28,20,16,.1) 55%, transparent 100%);
}
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 26px; z-index: 2; color: #fff; }
.cat-card__body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.cat-card__body span { font-size: .9rem; opacity: .85; }
.cat-card__body .go {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--gold);
  opacity: 0; transform: translateY(6px); transition: .3s var(--ease);
}
.cat-card:hover .go { opacity: 1; transform: translateY(0); }

/* =========================================================================
   Produits (grille + cartes)
   ========================================================================= */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-bottom: 34px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 9px 18px; border-radius: 100px; font-weight: 600; font-size: .9rem;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: .2s;
}
.filter:hover { border-color: var(--gold); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort select {
  font: inherit; font-size: .9rem; padding: 9px 16px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-grid--home { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(4px);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 11px; border-radius: 100px;
}
.card__tag--unique { background: var(--teal); color: #fff; }
.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; color: var(--ink-soft); transition: .2s; backdrop-filter: blur(4px);
}
.card__fav:hover { color: var(--red); transform: scale(1.1); }
.card__fav svg { width: 18px; height: 18px; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.card__title { font-size: 1.12rem; margin: 4px 0 10px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--ink); }
.add-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 100px; font-weight: 600; font-size: .86rem; transition: .25s var(--ease);
}
.add-btn:hover { background: var(--red); transform: translateY(-2px); }
.add-btn svg { width: 16px; height: 16px; }
.add-btn.added { background: var(--teal); }

/* Cartes cliquables (ouvrent la pop-up) */
.card__media[data-product] { cursor: pointer; }
.card__quick {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); z-index: 2;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-sm);
  font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: 8px 16px; border-radius: 100px;
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.card:hover .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__title[data-product] { cursor: pointer; transition: color .2s; }
.card__title[data-product]:hover { color: var(--red); }

/* =========================================================================
   Pop-up fiche produit ("quick view")
   ========================================================================= */
.pmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.pmodal.open { opacity: 1; visibility: visible; }
.pmodal__backdrop { position: absolute; inset: 0; background: rgba(28,20,16,.55); backdrop-filter: blur(4px); }
.pmodal__dialog {
  position: relative; z-index: 1; width: min(900px, 100%); max-height: 90vh; overflow: auto;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.pmodal.open .pmodal__dialog { transform: none; }
.pmodal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: .2s; font-size: 1rem; }
.pmodal__close:hover { transform: rotate(90deg); color: var(--red); }
.pmodal__media { position: relative; background: var(--cream-2); display: flex; flex-direction: column; }
.pmodal__media > #pm-img { width: 100%; flex: 1; object-fit: cover; display: block; min-height: 300px; }
.pmodal__thumbs { display: flex; gap: 8px; padding: 10px; background: var(--cream-2); overflow-x: auto; }
.pmodal__thumb { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; transition: border-color .2s; }
.pmodal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__thumb.on { border-color: var(--ink); }
.pmodal__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 100px; }
.pmodal__badge--unique { background: var(--teal); color: #fff; }
.pmodal__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.pmodal__name { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 4px 0 8px; }
.pmodal__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--red); margin-bottom: 14px; }
.pmodal__desc { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.pmodal__opts { display: grid; gap: 12px; margin-bottom: 22px; }
.pmodal__opt { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; }
.pmodal__label { font-weight: 600; font-size: .9rem; }

/* Menu déroulant personnalisé (aux couleurs du site) */
.hdc-select { position: relative; }
.hdc-select__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  font: inherit; font-size: .95rem; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.hdc-select__btn:hover { border-color: var(--gold); }
.hdc-select.open .hdc-select__btn { border-color: var(--gold); background: #fff; }
.hdc-select__val { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdc-select__chev { flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.hdc-select.open .hdc-select__chev { transform: translateY(1px) rotate(-135deg); }
.hdc-select__menu {
  position: fixed; z-index: 320; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  max-height: 240px; overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.hdc-select.open .hdc-select__menu { opacity: 1; visibility: visible; transform: none; }
.hdc-select__opt { padding: 9px 12px; border-radius: 8px; font-size: .95rem; cursor: pointer; transition: background .15s, color .15s; }
.hdc-select__opt:hover { background: var(--cream-2); }
.hdc-select__opt.on { color: var(--red); font-weight: 600; }
.pmodal__buy { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.pmodal__buy .qty { margin-top: 0; padding: 4px 6px; }
.pmodal__buy .btn { flex: 1; justify-content: center; }
.pmodal__note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.pmodal__note a { color: var(--red); text-decoration: underline; }
@media (max-width: 680px) {
  .pmodal__dialog { grid-template-columns: 1fr; }
  .pmodal__media > #pm-img { min-height: 200px; max-height: 38vh; }
  .pmodal__opt { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================================
   Story (Gabrielle)
   ========================================================================= */
.story { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
/* Section foncée : bord supérieur en vague (le fil) — aucun trait droit */
.section--wave { position: relative; overflow: hidden; }
.story--wave > .wrap, .section--wave > .wrap { position: relative; z-index: 1; }
.story__wave { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(34px, 5vw, 64px); line-height: 0; pointer-events: none; }
.story__wave--bottom { top: auto; bottom: -1px; transform: scaleY(-1); }
.story__wave svg { width: 100%; height: 100%; display: block; }
.story__wave-fill { fill: var(--cream); }
.story__wave-line { stroke: #c8912f; stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* Délimitation « fil d'or » en vague (haut/bas d'une section marron) */
.sec-wave { position: absolute; left: 0; width: 100%; height: clamp(30px, 4.5vw, 58px); line-height: 0; pointer-events: none; }
.sec-wave--top { top: -1px; }
.sec-wave--bottom { bottom: -1px; transform: scaleY(-1); }
.sec-wave svg { width: 100%; height: 100%; display: block; }
.sec-wave__fill { fill: var(--cream); }
.sec-wave__line { fill: none; stroke: #c8912f; stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.story__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; }
.story h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 20px; }
.story .eyebrow { color: var(--gold); }
.story blockquote {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4; color: #fff; margin: 0 0 22px; position: relative; padding-left: 22px;
  border-left: 3px solid var(--gold);
}
.story p { color: rgba(255,255,255,.78); margin-bottom: 16px; }
.story .sign { font-family: var(--font-hand); font-size: 1.7rem; color: var(--gold); }

/* =========================================================================
   Upcycling (cuir + jean)
   ========================================================================= */
.upcy { background: var(--cream); }
.upcy__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.upcy__card {
  background: var(--paper); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm);
  display: flex; gap: 24px; align-items: center;
}
.upcy__card img { width: 130px; height: 110px; object-fit: contain; flex: none; }
.upcy__card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.upcy__card p { color: var(--muted); font-size: .98rem; }

/* =========================================================================
   Points de vente (teaser)
   ========================================================================= */
.pdv { background: var(--cream); }
.pdv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pdv__map img { width: 100%; border-radius: var(--radius); }
.pdv__list { display: grid; gap: 16px; margin-top: 26px; }
.pdv-item {
  display: flex; gap: 16px; background: var(--paper); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm); align-items: flex-start;
}
.pdv-item .pin { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--cream-2); color: var(--red); display: grid; place-items: center; }
.pdv-item .pin svg { width: 22px; height: 22px; }
.pdv-item h4 { font-size: 1.08rem; }
.pdv-item p { font-size: .92rem; color: var(--muted); }
.pdv-item .tag { display: inline-block; margin-top: 6px; font-size: .76rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }

/* =========================================================================
   CTA bande / Newsletter
   ========================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 26px; }
.newsletter { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter input {
  flex: 1; min-width: 220px; padding: 14px 20px; border-radius: 100px; border: none;
  font: inherit; font-size: .98rem; color: var(--ink);
}
.newsletter input:focus { outline: 3px solid var(--gold); }

/* =========================================================================
   Sur-mesure : CTA + cartes d'arguments inclinées (bloc sarcelle)
   ========================================================================= */
.cta-cards { background: var(--teal); color: #fff; }
.cta-cards__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.eyebrow--light { color: var(--gold); }
.cta-cards__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 22px; }
.cta-cards__title em { font-style: italic; color: var(--gold); }
.cta-cards p { color: rgba(255, 255, 255, .86); max-width: 46ch; font-size: 1.05rem; margin-bottom: 30px; }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: .55em; border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff; padding: 14px 28px; border-radius: 100px; font-weight: 600; transition: background .25s var(--ease), color .25s, border-color .25s;
}
.btn-outline-light:hover { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-outline-light .arrow { transition: transform .25s var(--ease); }
.btn-outline-light:hover .arrow { transform: translateX(4px); }
.cta-cards__cards { display: grid; gap: 16px; }
.uc-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); border-radius: 16px;
  padding: 24px 28px; backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s;
}
.uc-card:nth-child(1) { transform: rotate(-1.6deg); }
.uc-card:nth-child(2) { transform: rotate(1.2deg); }
.uc-card:nth-child(3) { transform: rotate(-0.8deg); }
.uc-card:hover { transform: rotate(0) translateX(6px); background: rgba(255, 255, 255, .16); }
.uc-card h3 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.uc-card p { color: rgba(255, 255, 255, .82); font-family: var(--font-display); font-style: italic; font-size: 1.02rem; margin: 0; max-width: none; }
@media (max-width: 860px) { .cta-cards__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Page header (pages internes)
   ========================================================================= */
.page-head {
  padding: calc(var(--header-h) + 48px) 0 28px; background: var(--cream); text-align: center;
  position: relative;
}
/* Réduit le vide entre le titre de page et la 1re section */
.page-head + .section { padding-top: clamp(22px, 3.5vw, 52px); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-head p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--red); }

/* =========================================================================
   Savoir-faire spécifique
   ========================================================================= */
.sf-quote { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,72px); align-items: center; }
.sf-quote__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
.sf-quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,2.6vw,1.8rem); line-height: 1.45; border-left: 3px solid var(--gold); padding-left: 24px; margin: 0 0 18px; }
.sf-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 48px; counter-reset: step; }
.sf-step { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; }
.sf-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); font-weight: 600; display: block; margin-bottom: 10px;
}
.sf-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sf-step p { color: var(--muted); font-size: .96rem; }

/* Sur-mesure : galerie de réalisations */
.sm-project { margin-top: clamp(34px, 5vw, 56px); }
.sm-project__title { font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.sm-project__title::before {
  content: ""; width: 26px; height: 26px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c08a2c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3.5' y1='20.5' x2='16' y2='8'/%3E%3Ccircle cx='17' cy='7' r='1.6'/%3E%3Cpath d='M18.4 6c2 .3 3.3 2 2.8 3.9-.5 1.9-2.7 3-4.8 2.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.sm-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: var(--cream-2); transition: transform .4s var(--ease), box-shadow .4s; }
.sm-gallery img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 640px) { .sm-gallery { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Contact / Sur-mesure formulaires
   ========================================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font: inherit; font-size: .98rem; background: var(--cream); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
/* Le menu déroulant personnalisé adopte exactement le style des autres champs */
.field .hdc-select { margin-bottom: 0; }
.field .hdc-select__btn { padding: 13px 16px; font-size: .98rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--red); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 1.05rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--muted); font-size: .96rem; }
.info-item a:hover { color: var(--red); }

/* =========================================================================
   Cart drawer
   ========================================================================= */
.overlay {
  position: fixed; inset: 0; background: rgba(28,20,16,.5); backdrop-filter: blur(3px);
  z-index: 200; opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 210;
  background: var(--cream); box-shadow: -20px 0 60px rgba(0,0,0,.2);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); transition: .2s; }
.drawer__close:hover { transform: rotate(90deg); color: var(--red); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.drawer__empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 16px; }
.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex: none; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__info h4 { font-size: 1rem; margin-bottom: 2px; font-family: var(--font-body); font-weight: 600; }
.cart-line__info .price { color: var(--muted); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 3px 6px; }
.qty button { width: 26px; height: 26px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; font-size: 1.05rem; font-weight: 600; color: var(--ink); transition: background .2s; }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-line__remove { color: var(--muted); font-size: .8rem; align-self: flex-start; transition: .2s; }
.cart-line__remove:hover { color: var(--red); }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--cream-2); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 1.05rem; }
.drawer__total strong { font-family: var(--font-display); font-size: 1.5rem; }
.drawer__note { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.drawer__foot .btn { width: 100%; justify-content: center; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120%);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 100px;
  box-shadow: var(--shadow); z-index: 300; font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; gap: 10px; transition: transform .4s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--gold); }

/* =========================================================================
   Footer
   ========================================================================= */
/* Le footer évoque une pièce de cuir cousue : cuir doré (léger dégradé),
   couture blanche en haut, règle d'atelier en filigrane sur le côté. */
.site-footer {
  background: linear-gradient(168deg, #e7b652 0%, var(--gold) 46%, #c68f2d 100%);
  color: #fff; padding: 62px 0 28px; position: relative; overflow: hidden;
}
.site-footer::before { /* la couture du haut (rappel du fil blanc) */
  content: ""; position: absolute; top: 0; left: clamp(20px, 5vw, 96px); right: clamp(20px, 5vw, 96px);
  border-top: 2px dashed rgba(255, 255, 255, .55); pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .ruler {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  height: 78%; width: auto; opacity: .25; z-index: 0; pointer-events: none;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px; }
.footer__brand img { height: 76px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255, 255, 255, .9); font-size: .97rem; line-height: 1.6; max-width: 36ch; }
.site-footer h4 {
  font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em;
  margin-bottom: 18px; color: #fff; display: inline-flex; align-items: center; gap: 9px;
}
.site-footer h4::before { content: ""; width: 16px; height: 2px; background: var(--red); border-radius: 2px; flex: none; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer a { color: #fff; font-size: .97rem; transition: color .2s, transform .2s; }
.site-footer ul a { display: inline-block; }
.site-footer ul a:hover { color: var(--red); transform: translateX(4px); }
.site-footer .contact-line a:hover { color: var(--red); }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; font-size: .95rem; }
.site-footer .contact-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--red); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; color: #fff;
  background: rgba(42, 35, 32, .18); border: 1px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center; transition: .25s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px -6px rgba(143, 38, 37, .55); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom {
  margin-top: 52px; padding-top: 24px; border-top: 2px dashed rgba(58, 44, 16, .3);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .86rem; color: rgba(255, 255, 255, .85);
}

/* Signature agence (LLwebsite.fr) */
.footer-credit { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .85); }
.footer-credit-by { opacity: .9; }
.footer-credit-brand { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.footer-credit-mark {
  display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 7px;
  background: #2a2320; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .03em;
  transition: background .25s, transform .25s;
}
.footer-credit-brand:hover .footer-credit-mark { background: var(--red); transform: rotate(-4deg); }
.footer-credit-name { letter-spacing: -.01em; }
.footer-credit-dot { color: var(--red); }
.footer-credit-cta {
  display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600;
  color: #fff; padding: 4px 11px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .5);
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.footer-credit-cta svg { transition: transform .22s; }
.footer-credit-cta:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-1px); }
.footer-credit-cta:hover svg { transform: translateX(2px); }

/* =========================================================================
   Cookie banner (discret, en bas)
   ========================================================================= */
.cookie {
  position: fixed; left: 18px; bottom: 18px; transform: translateY(160%);
  width: min(400px, calc(100% - 36px)); z-index: 190;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  transition: transform .5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: .9rem; color: var(--ink-soft); flex: 1; min-width: 220px; }
.cookie p a { color: var(--red); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }

/* =========================================================================
   Bouton « retour en haut » (bas droite, apparaît en bas de page)
   ========================================================================= */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 190;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 20px; height: 20px; }

/* =========================================================================
   Mention « Maquette de démonstration » (pastille dans le footer)
   ========================================================================= */
.footer-maquette {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  margin-left: 12px; padding: 4px 11px; border-radius: 100px;
  background: rgba(42, 35, 32, .18); border: 1px solid rgba(255, 255, 255, .4);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
}
.footer-maquette__dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; flex: none; }

/* Mobile : la carte cookies est large ; on efface le bouton retour-haut tant
   qu'elle est ouverte pour éviter le chevauchement dans le coin. */
@media (max-width: 640px) {
  body.cookie-on .to-top { opacity: 0; pointer-events: none; transform: translateY(14px); }
}


/* =========================================================================
   Mur de créations immersif au scroll (GSAP) — section
   Les pièces apparaissent/disparaissent (scale 0→1→0) sous un grand titre
   en mix-blend-exclusion qui s'inverse au passage des visuels.
   ========================================================================= */
.cwall { position: relative; width: 100%; background: var(--cream); color: var(--ink); }
.cwall--section { padding: 0; }
.cwall__title {
  position: sticky; top: 50%; transform: translateY(-50%); z-index: 20;
  text-align: center; color: #fff; mix-blend-mode: exclusion; pointer-events: none; padding: 0 16px;
}
.cwall__title h2 { color: #fff; font-size: clamp(2.6rem, 11vw, 9rem); line-height: .9; letter-spacing: -.03em; font-weight: 600; }
.cwall__title p { margin-top: 12px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.cwall__grid { position: relative; z-index: 0; margin: 50vh 0; }
.cwall__row { display: flex; width: 100%; }
.cwall__cell { flex: 1; aspect-ratio: 1 / 1; }
.cwall-item { position: relative; height: 100%; width: 100%; will-change: transform; background: var(--cream-2); border-radius: 4px; overflow: hidden; }
.cwall-item img { height: 100%; width: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .cwall-item { transform: none !important; } }

/* =========================================================================
   Reveal animations
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .product-grid, .product-grid--home { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sf-steps { grid-template-columns: repeat(2, 1fr); }
}
/* Header : la nav répartie gauche/droite tient sur grand écran ; en dessous on
   bascule en menu burger pour éviter que le contenu chevauche le logo centré. */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav--side { display: none; }
  .site-header.is-split .wrap { justify-content: space-between; gap: 16px; }
  .site-header.is-split .brand { position: static; transform: none; flex: 0 0 auto; }
  .site-header.is-split .header-end { flex: 0 0 auto; }
  .site-header .nav--mobile {
    display: flex; position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    width: min(320px, 82%); height: 100vh; height: 100dvh; overflow-y: auto;
    background: var(--cream); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 22px 30px; gap: 4px;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.2);
    z-index: 110;
  }
  body.nav-open .nav--mobile { transform: translateX(0); }
  .nav--mobile a { color: var(--ink); padding: 14px 16px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav--mobile a:hover { background: transparent; }
  .nav--mobile a.active::after { display: none; }
  .nav--mobile a.active { color: var(--red); }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .site-header.is-split .brand img { height: 40px; }
  .header-actions .cart-label { display: none; }
  .intro__grid, .story__grid, .pdv__grid, .sf-quote, .form-grid { grid-template-columns: 1fr; }
  .story__media, .sf-quote__media { max-width: 420px; }
  .intro__media { max-width: 360px; margin-inline: auto; }
  .intro__media::before { inset: -12px; transform: rotate(-1.8deg); }
  .upcy__grid { grid-template-columns: 1fr; }
  .cats__grid { grid-template-columns: 1fr 1fr; }
  .hero::after { background: linear-gradient(to top, rgba(28,20,16,.9) 0%, rgba(28,20,16,.55) 60%, rgba(28,20,16,.35) 100%); }
  .hero__grid { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__inner { padding: 36px 0 0; }
  .hero { flex-direction: column; justify-content: center; padding-bottom: 0; }
  .hero__trust { position: static; width: min(100% - 40px, var(--maxw)); margin: 4px auto 30px; padding: 0;
    border: none; background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .hero__trust li { font-size: .88rem; gap: 9px; }
  .hero__trust .ic { width: 20px; height: 20px; }
  .hero__trust .ic svg { width: 18px; height: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .product-grid, .product-grid--home { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cats__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .card__body { padding: 14px; }
  .card__title { font-size: 1rem; }
  .add-btn span { display: none; }
  .add-btn { padding: 10px; }
  .intro__media .badge { width: 96px; height: 96px; font-size: .8rem; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}

/* =========================================================================
   Préchargement / intro de marque (au chargement de la page)
   Rideau cuir foncé + logo centré → une fois la page chargée, le logo s'envole
   vers le haut et le rideau se lève pour révéler le site.
   ========================================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  /* Dégradé linéaire (bien moins coûteux à rastériser qu'un radial plein écran) */
  background: linear-gradient(180deg, #332b25 0%, var(--ink) 55%, #181310 100%);
  transform: translate3d(0, 0, 0);
  transition: transform .9s var(--ease); /* le rideau (et le logo dedans) se lève d'un seul tenant */
  will-change: transform;
}
.preloader.is-leaving { transform: translate3d(0, -105%, 0); }
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 24px; text-align: center;
  animation: plRise .8s var(--ease) both;
  /* Pas de couche séparée : le texte est peint DANS la couche du rideau et glisse
     avec lui (même bitmap mis en cache → aucune saccade sur le texte). */
}
.preloader__logo {
  height: clamp(64px, 11vw, 108px); width: auto;
}
.preloader__tag {
  font-family: var(--font-hand); color: var(--gold);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
}
/* Le logo + la signature ne bougent plus tout seuls : ils sont emportés vers le
   haut PAR le rideau (une seule couche en mouvement = exactement aussi fluide que
   le carré marron, plus aucune saccade sur le texte). */
.preloader.is-leaving .preloader__inner { animation: none; }
@keyframes plRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.pl-lock { overflow: hidden; }
/* Navigation interne (déjà sur le site) : pas d'intro du tout. */
html.no-intro .preloader { display: none; }
/* Tant que le préloader est affiché, le zoom du hero (plein écran, derrière le
   rideau) est en pause : on garde le GPU libre pour une révélation bien fluide. */
body.pl-lock .hero__slide.active { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: none; }
  .preloader__inner, .preloader__logo { animation: none; }
  .preloader.is-leaving .preloader__inner { transition: none; }
}
