/* ==========================================================================
   CDSI — Centre de Développement Solidaire et Inclusif
   Feuille de style principale
   Approche mobile-first : les grilles multi-colonnes vivent dans les
   media queries >= 768px. Sous 768px, tout est empilé.
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --vert:        #0f7a5a;
  --vert-fonce:  #0a5a41;
  --vert-clair:  #e6f4ef;
  --or:          #c8722f;
  --or-clair:    #fdf1e6;
  --sable:       #fbf7f0;
  --blanc:       #ffffff;
  --encre:       #22201c;
  --gris:        #6f6a61;
  --gris-clair:  #9a948a;
  --bordure:     rgba(34, 32, 28, .10);
  --ombre-sm:    0 2px 10px rgba(34,32,28,.06);
  --ombre:       0 10px 30px rgba(34,32,28,.09);
  --ombre-lg:    0 24px 60px rgba(34,32,28,.14);
  --radius:      16px;
  --radius-sm:   10px;
  --ease:        cubic-bezier(.22,.61,.36,1);
  --header-h:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--sable);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Texture grain premium */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-filled { background: var(--vert); color: #fff; box-shadow: 0 8px 22px rgba(15,122,90,.28); }
.btn-filled:hover { background: var(--vert-fonce); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,122,90,.34); }

.btn-gold { background: var(--or); color: #fff; box-shadow: 0 8px 22px rgba(200,114,47,.28); }
.btn-gold:hover { background: #b2621f; transform: translateY(-3px); }

.btn-line { border: 1.5px solid currentColor; color: var(--encre); }
.btn-line:hover { background: var(--encre); color: #fff; transform: translateY(-3px); }

.btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(10px); }
.btn-light:hover { background: #fff; color: var(--encre); transform: translateY(-3px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .7rem; }

/* ---------- Grain / Glassmorphism ---------- */
.glass {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--ombre);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s;
}
.site-header.scrolled {
  background: rgba(251,247,240,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--bordure), 0 8px 26px rgba(34,32,28,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--vert), var(--or));
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(15,122,90,.28);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  transition: color .4s;
}
.logo-sub { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); transition: color .4s; }
.site-header.scrolled .logo-name { color: var(--encre); }
.site-header.scrolled .logo-sub { color: var(--gris); }
.site-header:not(.scrolled) .logo-name,
.site-header:not(.scrolled) .logo-sub { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* Navigation */
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.site-header.scrolled .main-nav a { color: var(--encre); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--or);
  transition: width .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Actions header */
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: background .3s, color .3s, transform .3s;
}
.site-header.scrolled .icon-btn { color: var(--encre); }
.icon-btn:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.site-header.scrolled .icon-btn:hover { background: rgba(15,122,90,.09); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--or);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* Burger */
.burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; }
.burger span { display: block; height: 1.8px; width: 100%; background: currentColor; color: inherit; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.burger { color: #fff; }
.site-header.scrolled .burger { color: var(--encre); }
.burger.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Tiroir mobile */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background: var(--blanc);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px 26px 34px;
  overflow-y: auto;
  box-shadow: -18px 0 50px rgba(34,32,28,.16);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-top .logo-name { color: var(--encre); font-size: 1.25rem; }
.drawer-top .logo-sub { color: var(--gris); }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--encre); }
.drawer-close:hover { background: var(--vert-clair); }
.drawer-close svg { width: 20px; height: 20px; }
.mobile-drawer nav ul { display: flex; flex-direction: column; }
.mobile-drawer nav a {
  display: block;
  padding: 15px 0;
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bordure);
  transition: color .3s, padding-left .3s;
}
.mobile-drawer nav a:hover { color: var(--vert); padding-left: 8px; }
.drawer-contact { margin-top: auto; padding-top: 26px; font-size: .86rem; color: var(--gris); }
.drawer-contact a { color: var(--vert); font-weight: 600; }
.overlay {
  position: fixed; inset: 0;
  background: rgba(26,24,20,.5);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 20px 70px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 32s infinite;
  transform: scale(1.06);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.06); }
  4%   { opacity: 1; }
  25%  { opacity: 1; transform: scale(1.14); }
  32%  { opacity: 0; transform: scale(1.16); }
  100% { opacity: 0; transform: scale(1.06); }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18,26,22,.66) 0%, rgba(18,26,22,.48) 42%, rgba(18,26,22,.76) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; width: 100%; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 8vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 4px 34px rgba(0,0,0,.3);
}
.hero p.hero-desc {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.7);
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.hero-scroll i { display: block; width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrollPulse 2.4s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- États du hero (fallback sans image) ---------- */
.hero.no-slides::before { background: linear-gradient(135deg, #0f5c44, #155f4a 45%, #7a4a1c); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-tight { padding: 50px 0; }
.section-alt { background: var(--blanc); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--gris); margin: 0; }
.title-rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.title-rule span { display: block; width: 46px; height: 1.5px; background: var(--or); opacity: .5; }
.title-rule svg { width: 14px; height: 14px; color: var(--or); }
.section-head.left .title-rule { justify-content: flex-start; }

/* ---------- Grilles génériques ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }

/* ---------- Réassurance ---------- */
.reassurance { background: var(--blanc); padding: 50px 0; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.reassurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reassurance-item {
  text-align: center;
  padding: 24px 14px;
  border-radius: var(--radius);
  background: var(--sable);
  border: 1px solid var(--bordure);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.reassurance-item:hover { transform: translateY(-5px); box-shadow: var(--ombre); background: #fff; }
.reassurance-item svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--vert); stroke-width: 1.4; }
.reassurance-item h3 { font-size: .95rem; font-family: inherit; font-weight: 600; margin-bottom: 5px; letter-spacing: 0; }
.reassurance-item p { font-size: .78rem; color: var(--gris); margin: 0; line-height: 1.5; }

/* ---------- Collections ---------- */
.collections-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.collection-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--ombre);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.collection-card:hover { transform: translateY(-8px); box-shadow: var(--ombre-lg); }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.collection-card:hover img { transform: scale(1.08); }
.collection-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,0) 35%, rgba(20,18,14,.85) 100%);
  z-index: 1;
}
.collection-body { position: relative; z-index: 2; padding: 26px 24px; color: #fff; width: 100%; }
.collection-body span { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.collection-body h3 { color: #fff; margin: 7px 0 10px; font-size: 1.45rem; }
.collection-link { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.collection-link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.collection-card:hover .collection-link svg { transform: translateX(5px); }

/* ---------- Carrousel produits ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; flex: 0 0 78%; }

.carousel-nav { display: none; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--ombre);
  display: grid; place-items: center;
  color: var(--encre);
  z-index: 5;
  transition: background .3s, color .3s, transform .3s;
}
.carousel-btn:hover { background: var(--vert); color: #fff; }
.carousel-btn svg { width: 19px; height: 19px; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

/* ---------- Carte produit ---------- */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--bordure);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--ombre-lg); }
.product-card .img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--vert-clair);
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .img-wrap img { transform: scale(1.07); }

.badge-promo {
  position: absolute;
  top: 13px; left: 13px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--or);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.badge-stock-out {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(251,247,240,.78);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--encre);
}

.product-card .info { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: 7px; }
.product-card h3 { font-family: inherit; font-size: .96rem; font-weight: 500; line-height: 1.4; margin: 0 0 10px; }
.product-card .price { font-size: 1.06rem; font-weight: 600; color: var(--vert); margin-top: auto; }
.product-card .price .old { font-size: .8rem; color: var(--gris-clair); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.product-card .btns { margin-top: 15px; }
.product-card .btns .btn { width: 100%; padding: 11px 18px; font-size: .7rem; }

/* ---------- Bloc À propos / split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.split-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
}
.split-badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; line-height: 1; color: var(--vert); }
.split-badge span { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.split-body .eyebrow { margin-bottom: 12px; }
.split-list { display: grid; gap: 14px; margin: 24px 0 28px; }
.split-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .92rem; color: var(--gris); }
.split-list svg { width: 19px; height: 19px; color: var(--vert); flex-shrink: 0; margin-top: 3px; }
.split-list strong { color: var(--encre); font-weight: 600; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,122,90,.42);
  opacity: 0;
  transition: opacity .4s;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .35s var(--ease);
}
.faq-item.open { box-shadow: var(--ombre); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px;
  text-align: left;
  font-size: .95rem;
  font-weight: 500;
  color: var(--encre);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--vert); transition: transform .35s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 20px 20px; margin: 0; color: var(--gris); font-size: .9rem; }

/* ---------- Bandeau contact ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert) 55%, #1c6b4e);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.10), transparent 45%), radial-gradient(circle at 82% 78%, rgba(200,114,47,.22), transparent 48%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn { margin: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #1b1a17; color: rgba(255,255,255,.72); padding: 56px 0 0; font-size: .89rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); }
.footer-brand p { margin: 18px 0 0; line-height: 1.75; color: rgba(255,255,255,.6); font-size: .87rem; }
.footer-col h4 { font-family: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.66); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--or); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.socials { display: flex; gap: 11px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .3s, transform .3s;
}
.socials a:hover { background: var(--vert); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- En-tête de page interne ---------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 52px;
  text-align: center;
  background: linear-gradient(135deg, #123a2c, #16513c 55%, #6d4419);
  color: #fff;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head p { color: rgba(255,255,255,.8); margin: 0; max-width: 620px; margin-inline: auto; }
.breadcrumb { margin-top: 18px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------- Boutique : filtres ---------- */
.shop-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.filter-chips { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 9px 19px;
  border-radius: 100px;
  border: 1px solid var(--bordure);
  background: #fff;
  font-size: .77rem;
  font-weight: 500;
  color: var(--gris);
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--vert); color: var(--vert); }
.chip.active { background: var(--vert); border-color: var(--vert); color: #fff; }
.shop-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search-field { position: relative; flex: 1 1 200px; }
.search-field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gris-clair); }
.search-field input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 100px;
  border: 1px solid var(--bordure);
  background: #fff;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search-field input:focus { border-color: var(--vert); box-shadow: 0 0 0 4px rgba(15,122,90,.09); }
.select-field {
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid var(--bordure);
  background: #fff;
  color: var(--encre);
  outline: none;
  cursor: pointer;
  flex: 1 1 170px;
}
.select-field:focus { border-color: var(--vert); }

.results-count { font-size: .84rem; color: var(--gris); margin-bottom: 20px; }

/* ---------- Fiche produit ---------- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 38px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--vert-clair);
  aspect-ratio: 1;
  box-shadow: var(--ombre);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  color: var(--encre);
  box-shadow: var(--ombre-sm);
  transition: background .3s, color .3s;
  z-index: 3;
}
.gal-arrow:hover { background: var(--vert); color: #fff; }
.gal-arrow svg { width: 18px; height: 18px; }
.gal-arrow.prev { left: 14px; }
.gal-arrow.next { right: 14px; }
.thumbs { display: flex; gap: 11px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 78px; height: 78px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .62;
  transition: opacity .3s, border-color .3s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.active { border-color: var(--vert); opacity: 1; }

.product-info h1 { font-size: 1.85rem; margin-bottom: 12px; }
.product-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.product-meta .cat { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.availability { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--vert); font-weight: 500; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); display: block; }
.availability.out { color: #c0392b; }
.availability.out i { background: #c0392b; }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 20px 0; }
.product-price .now { font-size: 1.9rem; font-weight: 600; color: var(--vert); font-family: 'Cormorant Garamond', serif; }
.product-price .was { font-size: 1.05rem; color: var(--gris-clair); text-decoration: line-through; }
.product-price .save { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or); background: var(--or-clair); padding: 4px 11px; border-radius: 100px; }
.product-desc { color: var(--gris); line-height: 1.8; margin-bottom: 24px; }

.opt-label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); margin-bottom: 11px; display: block; }
.size-options { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.size-btn {
  min-width: 50px;
  padding: 11px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--bordure);
  background: #fff;
  font-size: .85rem;
  font-weight: 500;
  color: var(--encre);
  transition: all .3s var(--ease);
}
.size-btn:hover { border-color: var(--vert); color: var(--vert); }
.size-btn.active { background: var(--vert); border-color: var(--vert); color: #fff; }
.size-btn.sold-out { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.size-note { font-size: .8rem; color: var(--gris); min-height: 20px; margin-bottom: 18px; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--bordure); border-radius: 100px; overflow: hidden; background: #fff; }
.qty-box button { width: 44px; height: 46px; font-size: 1.15rem; color: var(--encre); transition: background .3s; }
.qty-box button:hover { background: var(--vert-clair); }
.qty-box input { width: 52px; height: 46px; text-align: center; border: none; outline: none; font-weight: 600; background: transparent; }

.product-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.product-reassure { display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--vert-clair); }
.product-reassure div { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--gris); }
.product-reassure svg { width: 19px; height: 19px; color: var(--vert); flex-shrink: 0; margin-top: 2px; }
.product-reassure a { color: var(--vert); font-weight: 600; text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12,11,9,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s;
}
.lightbox.active { opacity: 1; }
.lightbox img { max-width: 92%; max-height: 88%; object-fit: contain; border-radius: 6px; }
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Panier ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  align-items: start;
}
.cart-line .thumb-box { width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; background: var(--vert-clair); }
.cart-line .thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-family: inherit; font-size: .95rem; font-weight: 500; margin: 0 0 4px; }
.cart-line .ref { font-size: .72rem; color: var(--gris-clair); letter-spacing: .06em; margin-bottom: 9px; }
.cart-line .size-tag { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--vert); background: var(--vert-clair); padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.cart-line .unit { font-size: .82rem; color: var(--gris); }
.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cart-line .line-total { font-weight: 600; color: var(--vert); font-size: 1.02rem; }
.link-remove { font-size: .76rem; color: var(--gris-clair); text-decoration: underline; transition: color .3s; }
.link-remove:hover { color: #c0392b; }

.summary { background: #fff; border: 1px solid var(--bordure); border-radius: var(--radius); padding: 24px; box-shadow: var(--ombre-sm); }
.summary h3 { font-family: inherit; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; color: var(--gris); }
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: .9rem; color: var(--gris); }
.summary-row.total { border-top: 1px solid var(--bordure); margin-top: 10px; padding-top: 18px; font-size: 1.15rem; font-weight: 600; color: var(--encre); font-family: 'Cormorant Garamond', serif; }
.summary-row.total span:last-child { color: var(--vert); }
.summary .btn { margin-top: 20px; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 54px; height: 54px; color: var(--gris-clair); margin: 0 auto 20px; }
.empty-state h3 { font-family: inherit; font-weight: 500; }
.empty-state p { color: var(--gris); }

/* Étapes du panier */
.cart-step { background: #fff; border: 1px solid var(--bordure); border-radius: var(--radius); padding: 24px; margin-top: 22px; }
.cart-step h3 { font-family: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin-bottom: 18px; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.choice-card {
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--bordure);
  background: #fff;
  transition: all .3s var(--ease);
}
.choice-card:hover { border-color: var(--vert); transform: translateY(-3px); box-shadow: var(--ombre-sm); }
.choice-card strong { display: block; font-size: .92rem; margin-bottom: 4px; }
.choice-card span { font-size: .79rem; color: var(--gris); }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--bordure);
  background: #fff;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  max-width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; border-radius: var(--radius-sm); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--vert); box-shadow: 0 0 0 4px rgba(15,122,90,.09); }
.field.full { grid-column: 1 / -1; }
.field-hint { font-size: .76rem; color: var(--gris-clair); }

.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: var(--radius-sm);
  box-shadow: var(--ombre);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-list button { display: block; width: 100%; text-align: left; padding: 12px 16px; font-size: .86rem; border-bottom: 1px solid var(--bordure); }
.autocomplete-list button:last-child { border-bottom: none; }
.autocomplete-list button:hover { background: var(--vert-clair); }

/* Récap panier */
.recap-items { display: grid; gap: 12px; margin-bottom: 18px; }
.recap-item { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; }
.recap-item .q { width: 42px; height: 42px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: var(--vert-clair); }
.recap-item .q img { width: 100%; height: 100%; object-fit: cover; }
.recap-item strong { display: block; font-weight: 500; }
.recap-item span { color: var(--gris); font-size: .8rem; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--bordure); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--ombre); }
.auth-tabs { display: flex; gap: 6px; background: var(--sable); padding: 5px; border-radius: 100px; margin-bottom: 26px; }
.auth-tab { flex: 1; padding: 11px; border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--gris); transition: all .3s var(--ease); text-align: center; }
.auth-tab.active { background: var(--vert); color: #fff; box-shadow: 0 5px 14px rgba(15,122,90,.24); }
.auth-form { display: grid; gap: 16px; }
.auth-alt { text-align: center; font-size: .84rem; color: var(--gris); margin-top: 20px; }
.auth-alt a { color: var(--vert); font-weight: 600; }
.form-msg { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .86rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--vert-clair); color: var(--vert-fonce); border: 1px solid rgba(15,122,90,.22); }
.form-msg.err { background: #fdecea; color: #b83227; border: 1px solid rgba(184,50,39,.2); }

/* ---------- Compte client ---------- */
.account-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 28px; padding-bottom: 4px; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab { flex-shrink: 0; padding: 11px 22px; border-radius: 100px; border: 1px solid var(--bordure); background: #fff; font-size: .8rem; font-weight: 500; color: var(--gris); transition: all .3s var(--ease); }
.account-tab.active { background: var(--vert); border-color: var(--vert); color: #fff; }

.order-card { background: #fff; border: 1px solid var(--bordure); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--bordure); }
.order-top .ref { font-weight: 600; font-size: .95rem; }
.order-top .date { font-size: .78rem; color: var(--gris); }
.status-badge { display: inline-block; padding: 5px 13px; border-radius: 100px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-en_attente { background: #fff4e0; color: #a66300; }
.status-payee     { background: var(--vert-clair); color: var(--vert-fonce); }
.status-expediee  { background: #e6f0fb; color: #1a5fa8; }
.status-livree    { background: #e7f7ee; color: #1a7a4a; }
.status-annulee   { background: #fdecea; color: #b83227; }

.order-items { display: grid; gap: 10px; margin-bottom: 16px; }
.order-item { display: flex; justify-content: space-between; gap: 14px; font-size: .87rem; color: var(--gris); }
.order-item strong { color: var(--encre); font-weight: 500; }
.order-total { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--bordure); font-weight: 600; }
.order-total span:last-child { color: var(--vert); }
.tracking-box { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--vert-clair); display: flex; flex-direction: column; gap: 10px; }
.tracking-box .num { font-size: .82rem; color: var(--gris); }
.track-btn { display: inline-block; padding: 11px 22px; border-radius: 100px; background: var(--vert); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.track-btn:hover { background: var(--vert-fonce); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--bordure);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--vert-clair); display: grid; place-items: center; color: var(--vert); flex-shrink: 0; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card h4 { font-family: inherit; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin: 0 0 5px; font-weight: 600; }
.contact-card p, .contact-card a { margin: 0; font-size: .95rem; color: var(--encre); line-height: 1.5; }
.contact-card a:hover { color: var(--vert); }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }

.contact-form-card { background: #fff; border: 1px solid var(--bordure); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--ombre); }

/* ---------- Contenu éditorial (pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--gris); line-height: 1.85; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-bottom: 18px; }
.prose a { color: var(--vert); text-decoration: underline; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Filet de sécurité : si l'IntersectionObserver ne se déclenche pas
   (éléments injectés après un fetch), le contenu apparaît quand même. */
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.reveal { animation: revealFallback .8s ease .4s forwards; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .hero-slide { animation: none; opacity: 1; }
  .hero-slide:nth-child(n+2) { display: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 130%);
  z-index: 10000;
  padding: 15px 26px;
  border-radius: 100px;
  background: var(--encre);
  color: #fff;
  font-size: .87rem;
  font-weight: 500;
  box-shadow: var(--ombre-lg);
  transition: transform .45s var(--ease);
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: #b83227; }
.toast.ok { background: var(--vert); }

/* ---------- Bannière cookies ---------- */
.cookie-bar {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 9500;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  box-shadow: var(--ombre-lg);
  padding: 18px 20px;
  display: none;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: .84rem; color: var(--gris); }
.cookie-bar .actions { display: flex; gap: 10px; }

/* ---------- Bandeau info ---------- */
.info-band {
  background: var(--or-clair);
  border: 1px solid rgba(200,114,47,.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .88rem;
  color: #8a4a13;
  margin-bottom: 26px;
}
.info-band svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Skeleton chargement ---------- */
.skeleton { background: linear-gradient(90deg, #f0ece4 25%, #f7f4ee 50%, #f0ece4 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ==========================================================================
   TABLETTE
   ========================================================================== */
@media (min-width: 640px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section { padding: 84px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reassurance-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .product-actions { flex-direction: row; }
  .product-actions .btn { flex: 1; }
  .carousel > * { flex: 0 0 46%; }
  .cart-line { grid-template-columns: 110px 1fr; }
  .cart-line .thumb-box { width: 110px; height: 110px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .cookie-bar { flex-direction: row; align-items: center; justify-content: space-between; left: 24px; right: auto; max-width: 620px; }
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  body { font-size: 17px; }

  .section { padding: 100px 0; }
  .container { padding: 0 32px; }

  /* Navigation visible */
  .main-nav { display: block; }
  .burger { display: none; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 26px; }

  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-card { min-height: 400px; }

  .hero-slide:nth-child(1) { animation-delay: 0s; }

  .carousel > * { flex: 0 0 calc((100% - 52px) / 3); }
  .carousel-nav { display: block; }
  .carousel-btn.prev { left: -24px; }
  .carousel-btn.next { right: -24px; }

  .split { grid-template-columns: 1fr 1fr; gap: 60px; }
  .split.reverse .split-media { order: 2; }

  .product-layout { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .gallery-main { aspect-ratio: 4/5; }
  .gal-arrow { display: grid; }

  .cart-layout { grid-template-columns: 1fr 380px; gap: 40px; }
  .summary { position: sticky; top: calc(var(--header-h) + 24px); }

  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 46px; }
  .contact-form-card { padding: 34px 32px; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 46px; }
  .site-footer { padding-top: 76px; }

  .page-head { padding: calc(var(--header-h) + 80px) 0 66px; }

  .shop-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .shop-tools { flex: 0 0 auto; }
}

@media (min-width: 1100px) {
  .grid-wide { grid-template-columns: repeat(4, 1fr); }
  .carousel > * { flex: 0 0 calc((100% - 60px) / 3.4); }
}

/* ---------- Petits écrans ---------- */
@media (max-width: 400px) {
  .btn { padding: 13px 22px; font-size: .76rem; }
  .reassurance-grid { grid-template-columns: 1fr; }
  .product-card h3 { font-size: .9rem; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .site-footer, .cookie-bar, .toast, .carousel-nav { display: none !important; }
  body::after { display: none; }
}
