/* =========================================================================
   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; }
  /* Repli sans JS/GSAP : liste verticale statique (cartes visibles). */
  .cats__stack { height: auto; display: grid; gap: 14px; }
  .stack-card { position: static; height: 200px; transform: none; opacity: 1; }
  /* Effet « pile » activé par GSAP (même animation pin+scrub que desktop) :
     on repasse en superposition absolue. */
  .cats--stacking .cats__stack { display: block; position: relative; height: 380px; gap: 0; }
  .cats--stacking .stack-card { position: absolute; left: 0; right: 0; top: 0; height: 248px; }
}
.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); }
.sm-project__text { margin: -2px 0 18px; max-width: 70ch; line-height: 1.7; color: var(--muted); }
@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)
   ========================================================================= */
/* =========================================================================
   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; }

/* 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.cc-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; }
/* Mobile : la marge 50vh laissait un grand vide crème avant/après le mur. On la
   réduit (le titre reste centré et défile sur les images). */
@media (max-width: 700px) { .cwall__grid { margin: 22vh 0; } }
.cwall__row { display: flex; width: 100%; }
.cwall__cell { flex: 1; aspect-ratio: 1 / 1; }
.cwall-item { position: relative; height: 100%; width: 100%; box-sizing: border-box; will-change: transform; background: var(--cream-2); border: 4px solid var(--frame, var(--cream-2)); border-radius: 7px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.cwall-item img { height: 100%; width: 100%; object-fit: cover; display: block; }
/* Revelation : etat cache applique uniquement quand le JS active .cwall--js
   (sinon les images restent visibles par defaut = a l'epreuve des pannes). */
.cwall--js .cwall-item { opacity: 0; transform: scale(.86); transition: opacity .5s var(--ease, ease), transform .5s var(--ease, ease); }
.cwall--js .cwall-item.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cwall-item { opacity: 1 !important; 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); }
  .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; }
  .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; right: 0; }
  .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; }
}

/* =========================================================================
   Avis Google
   ========================================================================= */
.reviews { background: var(--cream); }
.reviews__head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4.5vw, 52px); }
.reviews__head .lead { margin-inline: auto; }

.reviews__summary {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  padding: 10px 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 100px; box-shadow: var(--shadow-sm);
}
.reviews__score { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1; color: var(--ink); }
.reviews__stars { display: inline-flex; gap: 2px; }
.reviews__meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; text-align: left; }
.reviews__count { font-weight: 700; font-size: .9rem; color: var(--ink); }
.reviews__src { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }

/* etoiles : or fines (vides = contour or leger) */
.rev-star { width: 17px; height: 17px; fill: var(--gold); flex: none; }
.rev-star.is-empty { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .5; }
.g-logo { width: 20px; height: 20px; flex: none; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 26px); }

/* carte « cuir » : papier chaud + surpiqure (couture) le long du bord */
.rev-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fdf6ec);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rev-card::after {                       /* la couture : pointilles or paralleles au bord */
  content: ""; position: absolute; inset: 11px;
  border: 1.5px dashed rgba(192, 138, 44, .42);
  border-radius: calc(var(--radius) - 7px);
  pointer-events: none;
}
.rev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rev-card > * { position: relative; z-index: 1; }   /* contenu au-dessus de la couture */

.rev-card__g {                           /* attribution Google discrete, monochrome */
  position: absolute; top: 22px; right: 22px; width: 17px; height: 17px;
  color: var(--muted); opacity: .5; z-index: 1;
}
.rev-card__stars { display: inline-flex; gap: 3px; }
.rev-card__text {
  color: var(--ink-soft); font-size: 1rem; line-height: 1.62; flex: 1 1 auto;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-card__text::before { content: "\00ab\00a0"; color: var(--gold); font-weight: 600; }

.rev-card__by { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.rev-card__pic {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--paper);   /* petit anneau facon medaillon */
}
.rev-card__pic--ph {
  display: grid; place-items: center; background: var(--cream-2); color: var(--red);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.rev-card__id { min-width: 0; }
.rev-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-card__date { font-size: .82rem; color: var(--muted); }

.reviews__foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(28px, 3.5vw, 42px); }
/* l'attribut [hidden] doit l'emporter sur le display: inline-flex de .btn */
.btn[hidden] { display: none !important; }

@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
/* Avis : contrôles du carrousel (masqués hors mobile) */
.reviews__nav { display: none; }

@media (max-width: 600px) {
  /* Avis : carrousel horizontal à swipe + points indicateurs & flèches → compact
     ET on voit clairement qu'il y a plusieurs avis (carte suivante qui dépasse,
     points actifs, flèches préc/suiv). */
  .reviews__grid {
    display: flex; position: relative; grid-template-columns: none;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 4px;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .reviews__grid .rev-card {
    flex: 0 0 84%; scroll-snap-align: center; padding: 24px 22px;
  }
  .reviews__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
  .reviews__arrow {
    width: 40px; height: 40px; border-radius: 50%; flex: none;
    border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
    display: grid; place-items: center; box-shadow: var(--shadow-sm);
    transition: background .2s, border-color .2s;
  }
  .reviews__arrow:active { background: var(--cream-2); border-color: var(--gold); }
  .reviews__dots { display: flex; align-items: center; gap: 9px; }
  .reviews__dot {
    width: 9px; height: 9px; border-radius: 50%; padding: 0; flex: none;
    background: var(--line); transition: background .25s, transform .25s;
  }
  .reviews__dot.is-active { background: var(--red); transform: scale(1.35); }
  .reviews__summary { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
}

/* =========================================================================
   Coups de cœur (accueil) : disposition adaptée au nombre de produits (1→12)
   La grille passe en flex centré ; le nb de colonnes dépend de data-count,
   posé par main.js. Les rangées incomplètes sont centrées (pas d'orphelin
   collé à gauche).
   ========================================================================= */
.product-grid--home { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.product-grid--home .card { flex: 0 1 calc((100% - 3 * 26px) / 4); }   /* défaut 4 colonnes */

/* Desktop : disposition par nombre de coups de cœur */
@media (min-width: 981px) {
  .product-grid--home[data-count="1"] .card { flex-basis: min(420px, 100%); }
  .product-grid--home[data-count="2"] .card { flex-basis: min(340px, calc((100% - 26px) / 2)); }
  .product-grid--home[data-count="3"] .card,
  .product-grid--home[data-count="5"] .card,
  .product-grid--home[data-count="6"] .card,
  .product-grid--home[data-count="9"] .card { flex-basis: calc((100% - 2 * 26px) / 3); }
  /* 4, 7, 8, 10, 11, 12 → 4 colonnes (valeur par défaut ci-dessus) */
}

/* Tablette : 3 colonnes (avec petits nombres adaptés) */
@media (min-width: 601px) and (max-width: 980px) {
  .product-grid--home .card { flex-basis: calc((100% - 2 * 26px) / 3); }
  .product-grid--home[data-count="1"] .card { flex-basis: min(420px, 100%); }
  .product-grid--home[data-count="2"] .card,
  .product-grid--home[data-count="4"] .card { flex-basis: calc((100% - 26px) / 2); }
}

/* Mobile : 2 colonnes (1 seul produit = pleine largeur) */
@media (max-width: 600px) {
  .product-grid--home { gap: 16px; }
  .product-grid--home .card { flex-basis: calc((100% - 16px) / 2); }
  .product-grid--home[data-count="1"] .card { flex-basis: 100%; }
}


/* =========================================================================
   Points de vente : carte interactive (Leaflet/OSM) + point « à la une »
   ========================================================================= */
.pdv-map-canvas { display:none; width:100%; height:clamp(340px,42vw,520px); border-radius:var(--radius-sm); overflow:hidden; box-shadow:var(--shadow-sm); background:var(--cream-2); z-index:0; }
.pdv__map.is-live .pdv-map-canvas { display:block; }
.pdv__map.is-live .pdv-map-fallback { display:none; }
.leaflet-container { font:inherit; }
.pdv-marker-gold span { display:block; width:22px; height:22px; background:var(--gold,#dda742); border:2px solid #fff; border-radius:50% 50% 50% 0; transform:rotate(-45deg); box-shadow:0 3px 8px rgba(0,0,0,.4); }

#pdv-spotlight:not(:empty) { margin-bottom:clamp(28px,4vw,44px); }
.pdv-spot { display:block; position:relative; border-radius:var(--radius-sm); padding:clamp(20px,3vw,30px); background:linear-gradient(135deg,#fffaf0,#f6ebd4); border:1px solid #e7cf9b; box-shadow:0 12px 32px rgba(221,167,66,.18); color:var(--ink); text-decoration:none; }
.pdv-spot__badge { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#8a5a12; background:rgba(221,167,66,.22); padding:5px 12px; border-radius:999px; }
.pdv-spot__title { font-family:'Fraunces',Georgia,serif; font-size:clamp(1.4rem,3vw,2rem); line-height:1.15; margin:12px 0 6px; }
.pdv-spot__info { color:var(--ink-soft); margin:0 0 8px; }
.pdv-spot__addr { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:.95rem; margin:0; }
.pdv-spot__addr svg { width:18px; height:18px; flex:0 0 auto; }
.pdv-spot__link { display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-weight:600; color:#8a5a12; }
a.pdv-spot { transition:box-shadow .3s var(--ease,ease), transform .3s var(--ease,ease); }
a.pdv-spot:hover { box-shadow:0 16px 38px rgba(221,167,66,.28); transform:translateY(-2px); }

.pdv-map-canvas .leaflet-tile { filter:sepia(.10) saturate(.92) brightness(1.02); }
.pdv-map-canvas .leaflet-control-attribution { font-size:10px; background:rgba(255,255,255,.7); }

/* =========================================================================
   Responsive — correctifs mobile (audit 2026-06-29)
   Objectif : aucun débordement horizontal + animations visibles & adaptées,
   sans toucher au comportement desktop ni aux animations existantes.
   ========================================================================= */

/* Sur-mesure : 3 étapes (remplace l'ancien grid-template inline qui forçait
   3 colonnes à toutes les tailles → débordement mobile). 3 col desktop/tablette,
   pile en 1 colonne sous 860px (3 cartes = pas d'orphelin). */
.sf-steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .sf-steps--3 { grid-template-columns: 1fr; } }

/* Savoir-faire : « Nos engagements » (remplace l'ancien grid-template inline
   2 colonnes sans repli → texte rogné au bord en mobile). */
.values--cols2 { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
@media (max-width: 600px) { .values--cols2 { grid-template-columns: 1fr; } }

/* Coups de cœur (accueil) : sur petit mobile (grille 2 col), le prix passait à
   la ligne (« 250,00\n€ »). On le garde sur une ligne et on resserre le pied. */
@media (max-width: 560px) {
  .card__price { font-size: 1.12rem; white-space: nowrap; }
  .card__foot { gap: 8px; }
}

/* Savoir-faire : cartes « Le cuir » / « Le jean » — la grille reste en 2 colonnes
   (cartes côte à côte) ; sous 860px on empile l'image au-dessus du texte pour que
   les cartes étroites restent lisibles. */
@media (max-width: 860px) {
  .upcy__grid { gap: 16px; }
  .upcy__card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .upcy__card img { width: 96px; height: 80px; }
  .upcy__card h3 { font-size: 1.12rem; }
  .upcy__card p { font-size: .9rem; }
}

/* (Les collections utilisent désormais la MÊME pile GSAP pin+scrub que le desktop
   sur mobile : voir bloc .cats--stacking dans le @media max-width:860px plus haut.) */

/* =========================================================================
   Footer — refonte affichage TÉLÉPHONE uniquement (≤600px), bien plus compact
   ========================================================================= */
@media (max-width: 600px) {
  .site-footer { padding: 22px 0 16px; }
  .site-footer .ruler { height: 55%; opacity: .14; right: -2%; }   /* déco discrète */
  /* Marque en haut pleine largeur, puis les 3 blocs de liens en 2 colonnes */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { height: 64px; margin-bottom: 10px; }
  /* Tagline limitée à 2 lignes pour ne pas allonger le footer */
  .footer__brand p { font-size: .78rem; line-height: 1.4; max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .socials { margin-top: 8px; gap: 8px; }
  .socials a { width: 32px; height: 32px; }
  .socials svg { width: 15px; height: 15px; }
  .site-footer h4 { font-size: .68rem; margin-bottom: 6px; letter-spacing: .1em; }
  .site-footer h4::before { width: 10px; }
  .site-footer ul { gap: 3px; }
  .site-footer ul a,
  .site-footer .contact-line,
  .site-footer .contact-line a { font-size: .82rem; line-height: 1.3; }
  .site-footer .contact-line { margin-bottom: 5px; gap: 7px; }
  .site-footer .contact-line svg { width: 14px; height: 14px; margin-top: 1px; }
  /* Bas de footer : empilé, resserré, typo réduite */
  .footer__bottom { margin-top: 14px; padding-top: 12px; gap: 5px; flex-direction: column; align-items: flex-start; font-size: .73rem; line-height: 1.4; }
  .footer-credit { font-size: .72rem; gap: 6px; }
  .footer-credit-cta { padding: 2px 8px; font-size: .7rem; }
}

/* =========================================================================
   Lightbox : agrandir les photos de la galerie sur-mesure au clic
   ========================================================================= */
.sm-gallery img { cursor: zoom-in; }
/* Toujours présent dans le flux (display:grid) mais invisible : permet d'animer
   l'ouverture (le display ne se transitionne pas). */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(28, 20, 16, .9); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), visibility .32s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox__img {
  max-width: 100%; max-height: 88vh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  cursor: zoom-out; background: var(--cream-2);
  transform: scale(.9); transition: transform .35s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
  .lightbox__img { transform: none; }
}
.lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 22px); right: clamp(12px, 3vw, 22px);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm);
  font-size: 1.1rem; cursor: pointer; transition: transform .2s, color .2s;
}
.lightbox__close:hover { transform: rotate(90deg); color: var(--red); }
.lightbox__hint {
  position: absolute; bottom: clamp(14px, 4vw, 26px); left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .8); font-size: .82rem; letter-spacing: .02em; white-space: nowrap;
}

/* =========================================================================
   Formulaires (contact / sur-mesure) — version mobile resserrée & nette
   ========================================================================= */
@media (max-width: 560px) {
  .form-card { padding: 22px 18px; }
  .field { margin-bottom: 14px; }
  .field label { font-size: .88rem; margin-bottom: 6px; }
  .field input, .field textarea, .field select,
  .field .hdc-select__btn { padding: 12px 14px; font-size: .95rem; }
  .field textarea { min-height: 112px; }
  .info-list { gap: 14px; }
  .info-item .ic { width: 40px; height: 40px; }
}


/* =========================================================================
   Bouton « Copier l'adresse » + son toast dédié (n'écrase pas .toast)
   ========================================================================= */
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px; margin-top: 6px;
  padding: 4px 10px; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink-soft);
  font-size: .76rem; font-weight: 600; line-height: 1;
  border-radius: 100px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  font-family: inherit; letter-spacing: .02em;
}
.copy-btn:hover { background: #fff; color: var(--red); border-color: var(--red); }
.copy-btn:active { transform: scale(.97); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.is-copied {
  background: var(--gold); color: var(--ink); border-color: var(--gold-dark);
}
.copy-btn.is-copied .copy-btn__label::after { content: " ✓"; }

.copy-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 120%);
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 100px;
  box-shadow: var(--shadow); z-index: 9999;
  font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
  transition: transform .35s var(--ease);
}
.copy-toast.show { transform: translate(-50%, 0); }
.copy-toast svg { width: 16px; height: 16px; color: var(--gold); }


/* Wrapper d'une carte pdv-item : permet de positionner le bouton « Copier »
   en absolute SANS l'imbriquer dans le <a> (HTML5 interdit interactive in a). */
.pdv-item-wrap { position: relative; display: block; }
.pdv-item-wrap .pdv-item { display: flex; }

/* DESKTOP (>= 641px) : bouton compact en coin haut-droit de la carte */
.copy-btn--corner {
  position: absolute;
  top: 12px; right: 12px;
  margin: 0;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(42,35,32,.06);
}
.copy-btn--corner:hover { background: #fff; color: var(--red); border-color: var(--red); }
.copy-btn--corner svg { width: 14px; height: 14px; }

/* MOBILE (<= 640px) : la coin position passe en bouton plein-largeur sous la
   carte, couleur de marque (terracotta), 44 px tactile minimum. */
@media (max-width: 640px) {
  .copy-btn--corner {
    position: static;
    display: flex;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 14px;
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
    font-size: .88rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(182,48,47,.18);
    justify-content: center;
    gap: 8px;
  }
  .copy-btn--corner:hover,
  .copy-btn--corner:focus-visible {
    background: var(--red-dark);
    color: #fff;
    border-color: var(--red-dark);
  }
  .copy-btn--corner.is-copied {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: var(--ink);
  }
  .copy-btn--corner .copy-btn__label { display: inline-flex; }
  .copy-btn--corner svg { width: 16px; height: 16px; }
  /* Sur smartphone : on développe « Copier » en « Copier l'adresse ». Quand
     l'utilisateur clique, on garde le ✓ de validation après le label. */
  .copy-btn--corner .copy-btn__label::after { content: " l'adresse"; }
  .copy-btn--corner.is-copied .copy-btn__label::after { content: " l'adresse ✓"; }
}


/* =========================================================================
   OPTIMISATIONS MOBILE
   ========================================================================= */

/* backdrop-filter sur mobile = GPU mort. On le coupe et on opacifie le fond
   à la place. Préserve le visuel "verre dépoli" sur desktop ; sur smartphone
   on a un fond solide, beaucoup plus rapide à composer. */
@media (max-width: 768px) {
  .site-header,
  .nav-mobile,
  .pmodal__backdrop,
  .cart-drawer__head,
  .cart-drawer__backdrop,
  .overlay,
  .card__overlay,
  .card__zoom,
  .nav-mobile__backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Fonds plus opaques pour compenser l'absence de flou */
  .site-header.scrolled { background: rgba(250,245,238,.98); }
  .pmodal__backdrop,
  .cart-drawer__backdrop { background: rgba(28,20,16,.78); }
}

/* Sur mobile : sections lourdes hors viewport — on laisse le navigateur
   sauter leur rendu jusqu'à approche. Gros gain de fluidité de scroll. */
@media (max-width: 768px) {
  .savoir-faire,
  .sf-quote,
  .story,
  .cats,
  .pdv,
  .reviews,
  .cwall,
  .cta-band,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
}

/* Hero zoom : scale 1.08 sur desktop, 1.03 sur smartphone — moins d'amplitude
   = moins de recompositions et un effet plus discret sur petit écran. */
@media (max-width: 768px) {
  @keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.03); } }
}

/* Reveal : translateY plus court sur mobile (12px au lieu de 28px) pour
   réduire les compositions répétées au scroll. */
@media (max-width: 768px) {
  .reveal { transform: translateY(12px); }
  .reveal[data-delay="1"],
  .reveal[data-delay="2"],
  .reveal[data-delay="3"] { transform: translateY(12px); }
}

/* Réduire les coûts d'ombre sur mobile : les ombres double-layer du site coûtent
   cher au raster. On simplifie. */
@media (max-width: 768px) {
  :root {
    --shadow-lg: 0 8px 24px rgba(42,35,32,.10);
    --shadow:    0 4px 14px rgba(42,35,32,.08);
    --shadow-sm: 0 2px 6px rgba(42,35,32,.06);
  }
}
/* =========================================================================
   CONSENTEMENT COOKIES (RGPD / CNIL)
   ========================================================================= */

/* ===== Banner ============================================================ */
.cc-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100% - 40px));
  z-index: 9100;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow:
    0 14px 36px rgba(42, 35, 32, .18),
    0 2px 8px rgba(42, 35, 32, .08);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition:
    transform .45s cubic-bezier(.25, .9, .3, 1),
    opacity .35s cubic-bezier(.25, .9, .3, 1);
}
.cc-banner.is-visible { transform: translateY(0); opacity: 1; }

.cc-banner__head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
}
.cc-banner__head .cc-icon { display: inline-flex; }
.cc-banner__head .cc-icon svg { color: var(--gold-dark); }
.cc-banner__eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.cc-banner__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.cc-banner__desc {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.cc-banner__desc a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color .2s ease;
}
.cc-banner__desc a:hover { color: var(--red-dark); }

.cc-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cc-banner__actions .cc-btn { flex: 1 1 auto; }

/* ===== Buttons (réutilisés banner ET modal) ============================== */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 100px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .1s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn:focus-visible {
  outline: 3px solid rgba(221, 167, 66, .45);
  outline-offset: 2px;
}

.cc-btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(182, 48, 47, .22);
}
.cc-btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 6px 16px rgba(182, 48, 47, .32);
}

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

/* ===== Modal préférences ================================================ */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cc-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 16, .68);
}

.cc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow:
    0 24px 64px rgba(28, 20, 16, .35),
    0 4px 12px rgba(28, 20, 16, .18);
  transform: translateY(16px) scale(.98);
  transition: transform .3s cubic-bezier(.25, .9, .3, 1);
}
.cc-modal.is-open .cc-modal__dialog { transform: translateY(0) scale(1); }

.cc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.cc-modal__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
.cc-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cc-modal__close:hover {
  background: var(--cream);
  color: var(--red);
  border-color: var(--red);
}

.cc-modal__intro {
  padding: 16px 24px 0;
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cc-cat-list {
  list-style: none;
  margin: 0;
  padding: 16px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-cat {
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cc-cat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.cc-cat__meta { min-width: 0; }
.cc-cat__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.cc-cat__badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cc-cat__desc {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Switch toggle accessible ------------------------------------------------ */
.cc-cat__toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}
.cc-cat__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.cc-cat__track {
  display: inline-block;
  width: 44px;
  height: 24px;
  border-radius: 100px;
  background: #d6cdbf;
  transition: background .2s ease;
  position: relative;
  flex-shrink: 0;
}
.cc-cat__dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s cubic-bezier(.25, .9, .3, 1);
}
.cc-cat__input:checked + .cc-cat__track { background: var(--red); }
.cc-cat__input:checked + .cc-cat__track .cc-cat__dot { transform: translateX(20px); }
.cc-cat__input:disabled + .cc-cat__track { background: var(--gold); opacity: .9; cursor: not-allowed; }
.cc-cat__input:disabled + .cc-cat__track .cc-cat__dot { transform: translateX(20px); background: var(--ink); }
.cc-cat__toggle:has(.cc-cat__input:focus-visible) .cc-cat__track {
  box-shadow: 0 0 0 3px rgba(221, 167, 66, .45);
}
.cc-cat__sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.cc-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.cc-modal__foot .cc-btn { flex: 1 1 auto; min-width: 130px; }

/* ===== Reopener (bouton flottant 🍪) ==================================== */
.cc-reopener {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9050;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 20, 16, .35);
  opacity: 0;
  transform: translateY(8px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.25, .9, .3, 1), background .2s ease, color .2s ease;
}
.cc-reopener.is-visible {
  opacity: .85;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cc-reopener:hover {
  opacity: 1;
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.cc-reopener:focus-visible {
  opacity: 1;
  outline: 3px solid rgba(221, 167, 66, .55);
  outline-offset: 2px;
}

/* ===== Mobile ============================================================ */
@media (max-width: 600px) {
  /* Banner : on respire davantage, on réduit la typo et on simplifie le layout
     en deux blocs visuels distincts : (1) le texte (eyebrow + titre + desc),
     (2) les actions, où Refuser et Accepter sont côte à côte avec un poids
     visuel équivalent (CNIL), et Voir les préférences est posé en-dessous
     comme une option secondaire. */
  .cc-banner {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    padding: 18px 18px 16px;
    border-radius: 16px;
    gap: 10px;
    box-shadow:
      0 18px 40px rgba(28,20,16,.22),
      0 4px 10px rgba(28,20,16,.10);
  }
  .cc-banner__head { gap: 8px; }
  .cc-banner__head .cc-icon svg { width: 18px; height: 18px; }
  .cc-banner__eyebrow {
    font-size: .62rem;
    letter-spacing: .18em;
  }
  .cc-banner__title {
    font-size: 1.08rem;
    line-height: 1.3;
  }
  .cc-banner__desc {
    font-size: .85rem;
    line-height: 1.5;
  }

  /* Actions : pile + grille. Pas de flex-wrap brouillon. */
  .cc-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
  }
  /* Refuser (1er) + Accepter (3e) côte à côte, en 1ʳᵉ ligne, équivalents
     visuellement pour respecter le bouton « Refuser aussi visible
     qu'Accepter ». */
  .cc-banner__actions .cc-btn {
    flex: none;
    padding: 13px 14px;
    font-size: .92rem;
    min-height: 44px;
    justify-content: center;
  }
  .cc-banner__actions .cc-btn:nth-child(1) { /* Refuser */
    grid-column: 1;
    grid-row: 1;
  }
  .cc-banner__actions .cc-btn:nth-child(3) { /* Accepter */
    grid-column: 2;
    grid-row: 1;
  }
  /* Voir les préférences : 2e ligne pleine largeur, style discret */
  .cc-banner__actions .cc-btn:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    background: transparent;
    color: var(--ink-soft);
    border: none;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    min-height: 36px;
  }
  .cc-banner__actions .cc-btn:nth-child(2):hover {
    background: transparent;
    color: var(--red);
  }

  /* Modale préférences : marges et tailles adaptées au petit écran */
  .cc-modal { padding: 8px; }
  .cc-modal__head { padding: 14px 16px 10px; }
  .cc-modal__title { font-size: 1.12rem; }
  .cc-modal__intro { padding: 10px 16px 0; font-size: .85rem; line-height: 1.5; }
  .cc-cat-list { padding: 12px 16px; gap: 10px; }
  .cc-cat { padding: 14px 14px; }
  .cc-cat__title { font-size: .96rem; }
  .cc-cat__desc { font-size: .82rem; line-height: 1.5; }
  .cc-modal__foot { padding: 12px 16px 16px; gap: 6px; }
  .cc-modal__foot .cc-btn { flex: 1 1 100%; padding: 12px 16px; }

  /* Reopener un peu plus discret en taille mais reste touchable */
  .cc-reopener {
    width: 42px;
    height: 42px;
    left: 12px;
    bottom: 12px;
  }
}

/* Très petit écran (≤ 360 px) : on coupe encore un peu */
@media (max-width: 360px) {
  .cc-banner { padding: 16px 14px 14px; }
  .cc-banner__title { font-size: 1rem; }
  .cc-banner__desc { font-size: .82rem; }
  .cc-banner__actions .cc-btn { font-size: .88rem; padding: 12px 10px; }
}

/* ===== Reduced motion ==================================================== */
@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-modal,
  .cc-modal__dialog,
  .cc-reopener,
  .cc-cat__dot {
    transition: none !important;
  }
}

/* ============================================================================
   Modale checkout (panier boutique → /api/contact)
   Ajoutée 2026-07-07 pour remplacer le bouton fantôme « Passer la commande ».
   ========================================================================= */
#checkout-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
#checkout-modal .ck-backdrop { position: absolute; inset: 0; background: rgba(20,10,5,.55); backdrop-filter: blur(4px); }
#checkout-modal .ck-dialog { position: relative; z-index: 1; background: #fff; border-radius: 18px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px 26px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
#checkout-modal h2 { font-family: Georgia,'Times New Roman',serif; font-size: 1.6rem; margin: 0 0 6px; color: #7a2323; }
#checkout-modal .ck-intro { font-size: .92rem; color: #666; margin: 0 0 18px; line-height: 1.5; }
#checkout-modal .ck-close { position: absolute; top: 12px; right: 14px; background: transparent; border: 0; font-size: 1.5rem; cursor: pointer; color: #999; padding: 4px 10px; }
#checkout-modal .ck-close:hover { color: #333; }
#checkout-modal .ck-cart { background: #faf5f2; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
#checkout-modal .ck-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 6px 0; font-size: .93rem; }
#checkout-modal .ck-row + .ck-row { border-top: 1px solid #ecdccb; }
#checkout-modal .ck-row.ck-total { font-weight: 700; color: #7a2323; padding-top: 10px; margin-top: 4px; border-top: 2px solid #d9bfa9; }
#checkout-modal .ck-field { margin-bottom: 12px; }
#checkout-modal .ck-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; color: #444; }
#checkout-modal .ck-field input, #checkout-modal .ck-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9c8b7; border-radius: 8px; font-family: inherit; font-size: .95rem; box-sizing: border-box; }
#checkout-modal .ck-field input:focus, #checkout-modal .ck-field textarea:focus { outline: none; border-color: #b6302f; box-shadow: 0 0 0 2px rgba(182,48,47,.15); }
#checkout-modal .ck-actions { display: flex; gap: 10px; margin-top: 18px; }
#checkout-modal .ck-actions .btn { flex: 1; justify-content: center; }
#checkout-modal .ck-cancel { background: #ede4dc; color: #444; }
#checkout-modal .ck-cancel:hover { background: #e0d3c5; }
@media (max-width: 520px) {
  #checkout-modal .ck-dialog { padding: 22px 18px; }
  #checkout-modal .ck-row { grid-template-columns: 1fr auto; }
  #checkout-modal .ck-row > :nth-child(2) { display: none; }
}
