/* ==========================================================================
   BOIS NOBLE — Design System (Phase 1)
   Inspiration : direction artistique « maison artisanale du feu »
   Palette : ivoire / écorce / braise / mousse — typo Cormorant + Manrope
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Palette — ambiance feutrée, papier ivoire, accents braise */
  --ivory:       #F5F0E8;
  --ivory-2:     #EBE3D5;
  --bark:        #3A2E26;
  --bark-2:      #2A1F18;
  --ink:         #1A1614;
  --ember:       #B8553A;
  --ember-dark:  #8F3E29;
  --moss:        #4A5D3F;
  --moss-dark:   #364628;
  --rule:        rgba(58,46,38,.14);
  --rule-strong: rgba(58,46,38,.28);
  --muted:       #6B5D52;

  /* Typo */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, system-ui, sans-serif;
  --mono:  ui-monospace, monospace;

  /* Spacing (8 px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Layout */
  --maxw:   1360px;
  --gutter: 32px;
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-full: 999px;

  /* === Compat (anciens noms encore utilisés par les pages non refondues) === */
  --c-vert:       var(--moss);
  --c-vert-dark:  var(--moss-dark);
  --c-rouge:      var(--ember);
  --c-noir:       var(--ink);
  --c-blanc:      var(--ivory);
  --c-corps:      var(--muted);
  --c-bg-light:   var(--ivory-2);
  --c-bg-grey:    #d9d2c3;
  --c-border:     var(--rule);
  --f-sans:       var(--sans);
  --max-w:        var(--maxw);
  --sp-1:         var(--s-2);
  --sp-2:         var(--s-4);
  --sp-3:         var(--s-5);
  --sp-4:         var(--s-7);
  --sp-5:         var(--s-9);
  --sp-6:         128px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'kern','liga','ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Texture papier subtile (overlay) */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(58,46,38,.025) 1px, transparent 1px),
    radial-gradient(rgba(58,46,38,.018) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  z-index: 1;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
.h-display {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bark);
}
.h-display em { font-style: italic; color: var(--ember); }

.h-section {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bark);
}
.h-section em { font-style: italic; color: var(--ember); }

h1, h2, h3, h4 { font-family: var(--sans); color: var(--bark); line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: .02em; }

p { color: var(--muted); }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 56ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ember);
}
/* Le pastille rond avant l'eyebrow était une signature visuelle "IA" → masqué.
   On garde la classe disponible au cas où on veuille la réactiver localement. */
.eyebrow .dot { display: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--bark);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--ember); border-color: var(--ember); }

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }

.grid    { display: grid; gap: var(--s-5); }
.grid-2  { grid-template-columns: repeat(2, 1fr); }
.grid-3  { grid-template-columns: repeat(3, 1fr); }
.grid-4  { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--s-7) 0; }
  :root { --gutter: 20px; }
}
@media (max-width: 540px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--bark);
  color: var(--ivory);
  border-color: var(--bark);
}
.btn-primary:hover { background: var(--ember); border-color: var(--ember); color: var(--ivory); }

.btn-ghost {
  background: transparent;
  color: var(--bark);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--bark); }

.btn-outline { /* compat */
  background: transparent;
  color: var(--bark);
  border-color: var(--rule-strong);
}
.btn-outline:hover { border-color: var(--bark); }

.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 15px; }

/* ==========================================================================
   6. TOPBAR (marquee défilant)
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: var(--ivory);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.topbar-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-left: 40px;
}
.topbar-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ivory);
  opacity: 0.85;
}
.topbar-item .pin { color: var(--ember); }
.topbar-item .code {
  font-family: var(--mono);
  background: rgba(245,240,232,0.1);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  letter-spacing: 0.08em;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  transition: height .25s ease;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  transition: height .25s ease;
  gap: var(--s-4);
}

/* Brand au centre */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  justify-self: center;
  color: var(--bark);
  white-space: nowrap;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bark);
  color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 20px; font-weight: 600;
  font-style: italic;
}
.brand-text {
  display: flex; flex-direction: column;
  font-family: var(--serif);
  font-size: 20px; font-weight: 500;
  line-height: 1;
  color: var(--bark);
}
.brand-text small {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Nav à gauche */
.nav {
  display: flex; align-items: center;
  gap: var(--s-5);
  justify-self: start;
  white-space: nowrap;
}
.nav a {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bark);
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--ember); }
.nav a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ember);
}

/* Tools à droite (search / account / fav / cart) */
.head-tools {
  display: inline-flex; align-items: center;
  gap: 4px;
  justify-self: end;
}
.head-tool {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--bark);
  position: relative;
  transition: background .2s;
}
.head-tool:hover { background: var(--ivory-2); }
.head-tool svg { width: 18px; height: 18px; }
.head-tool:hover { background: var(--ivory-2); }
.head-tool .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ivory);
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* Mobile burger + menu */
.burger { display: none; }

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    height: 76px;
  }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory);
    padding: var(--s-5);
    border-bottom: 1px solid var(--rule);
    gap: var(--s-3);
  }
  .burger {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    color: var(--bark);
  }
  .brand-mark { width: 40px; height: 40px; font-size: 22px; }
  .brand-text { font-size: 20px; }
  .brand-text small { font-size: 10px; }
  .head-tool { width: 40px; height: 40px; }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
  background: var(--bark-2);
  color: var(--ivory);
  padding: var(--s-9) 0 var(--s-5);
  position: relative; z-index: 2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
@media (max-width: 1024px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px)  { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .foot-col:last-child { grid-column: 1 / -1; } }

.foot-brand p {
  margin-top: var(--s-4);
  color: rgba(245,240,232,0.65);
  font-size: 14px; line-height: 1.65;
  max-width: 36ch;
}
.foot-brand .brand-mark {
  background: var(--ivory); color: var(--bark);
}
.foot-brand .brand-text { color: var(--ivory); }
.foot-brand .brand-text small { color: rgba(245,240,232,0.55); }

.foot-col h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col li, .foot-col a {
  color: rgba(245,240,232,0.7);
  font-size: 13px;
  transition: color .2s;
  line-height: 1.5;
}
.foot-col a:hover { color: var(--ivory); }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(245,240,232,0.1);
  font-size: 12px;
  color: rgba(245,240,232,0.5);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.foot-bottom .links {
  display: flex; gap: var(--s-5);
}
.foot-bottom .links a:hover { color: var(--ivory); }
.foot-bottom .payments {
  display: flex; gap: 8px;
}
.pay-pill {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: var(--r-sm);
  color: rgba(245,240,232,0.6);
}

/* ==========================================================================
   9. SCROLL REVEAL (utilisé par ui.js)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ==========================================================================
   10. BREADCRUMB
   ========================================================================== */
.breadcrumb {
  background: transparent;
  padding: var(--s-5) 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ==========================================================================
   COMPAT — anciens composants encore utilisés par les pages PHP non refondues
   (boutique.php, produit.php, panier.php, checkout.php, compte.php, etc.)
   ========================================================================== */

/* btn-primary legacy → mappé sur la version moderne (couleur ember) */
.btn:not(.btn-primary):not(.btn-ghost):not(.btn-outline):not(.btn-block):not(.btn-lg) {
  background: var(--bark); color: var(--ivory); border-color: var(--bark);
}

/* Cards produit héritées de la home/boutique */
.produit-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
  position: relative;
}
.produit-card:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.produit-card-img {
  display: block;
  aspect-ratio: 1/1;
  background: var(--ivory-2);
  overflow: hidden;
  position: relative;
}
.produit-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.produit-card:hover .produit-card-img img { transform: scale(1.04); }
.produit-card-img-placeholder {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  font-size: 4rem;
  color: rgba(58,46,38,0.25);
}
.produit-card-corps { padding: var(--s-5); }
.produit-card-prix .prix {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 20px; font-weight: 600;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.produit-card-prix .prix-barre {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.produit-card-titre {
  display: block;
  margin-top: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--bark);
  line-height: 1.4;
}
.produit-card-cta {
  display: inline-block;
  margin-top: var(--s-4);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ember);
  border-bottom: 1px solid var(--ember);
  padding-bottom: 3px;
}
.produit-card-cta:hover { color: var(--ember-dark); }

/* Badges promo / rupture */
.badge-promo, .card-actions {
  position: absolute; top: var(--s-3); z-index: 2;
}
.card-actions {
  left: var(--s-3);
  display: flex; gap: 6px;
  font-size: 11px;
  background: rgba(245,240,232,0.9);
  padding: 4px 10px;
  border-radius: var(--r-full);
  color: var(--muted);
}
.badge-promo {
  right: var(--s-3);
  background: var(--ember);
  color: var(--ivory);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}
.badge-rupture {
  position: absolute; top: var(--s-3); right: var(--s-3);
  background: var(--ink); color: var(--ivory);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}

/* Search bar (header legacy) — masquée puisque remplacée par les head-tools modernes */
.search-bar { display: none; }
.action-btn, .action-icon, .action-badge { display: none; }
.subnav { display: none; }

/* Forms (compte, checkout, login) — couleurs adaptées à la nouvelle palette */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], input[type="search"],
textarea, select {
  background: var(--ivory);
  border-color: var(--rule);
  color: var(--ink);
  border-radius: var(--r-sm);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--bark);
}

/* Le reste des styles (ck-form, panier-row, timeline, etc.) hérite des
   variables --c-* qui pointent désormais sur la nouvelle palette via les
   alias définis dans :root. */

/* ==========================================================================
   PHASE 4A — PDP (fiche produit) · CART · CHECKOUT
   ========================================================================== */

/* ===== PDP — Page produit ===== */
.pdp { padding: var(--s-7) 0 var(--s-9); }
.pdp-crumbs {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.pdp-crumbs a { color: var(--muted); }
.pdp-crumbs a:hover { color: var(--ember); }

.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Galerie */
.pdp-gallery {
  position: sticky; top: 100px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-3);
}
@media (max-width: 900px) { .pdp-gallery { position: static; grid-template-columns: 1fr; } }

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 900px) { .pdp-thumbs { flex-direction: row; order: 2; } }

.pdp-thumb {
  width: 80px; height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--ivory-2);
  border: 2px solid var(--rule);
  transition: border-color .15s;
  padding: 0;
}
.pdp-thumb:hover { border-color: var(--rule-strong); }
.pdp-thumb.active { border-color: var(--ember); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-main-img {
  position: relative;
  background: var(--ivory-2);
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }

/* Info produit (buy box) */
.pdp-info { padding: 0 var(--s-3); }
.pdp-cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.pdp-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bark);
  margin-bottom: var(--s-4);
}
.pdp-title em { font-style: italic; color: var(--ember); }

.pdp-price {
  display: flex; align-items: baseline; gap: var(--s-3);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}
.pdp-price .now {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 32px;
  font-weight: 600;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.pdp-price .was {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}
.pdp-price .save {
  background: var(--ember);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--r-sm);
}

.pdp-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.pdp-desc strong { color: var(--bark); }

.pdp-bullets {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pdp-bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--bark);
}
.pdp-bullets .ico {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--moss);
  margin-top: 2px;
}

/* Variantes (longueurs) — moderne */
.pdp-options {
  margin: var(--s-5) 0;
}
.pdp-opt-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.pdp-opt-label .val { color: var(--ember); margin-left: 6px; }
.pdp-opt-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pdp-opt {
  padding: 12px 18px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--bark);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.pdp-opt small {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
}
.pdp-opt:hover { border-color: var(--rule-strong); }
.pdp-opt.sel {
  background: var(--ivory-2);
  border-color: var(--ember);
  color: var(--ember);
}
.pdp-opt.sel small { color: rgba(184,85,58,0.7); }

/* Buy bar */
.pdp-buy {
  display: flex; gap: var(--s-3);
  margin-top: var(--s-5);
  align-items: stretch;
}
.qty {
  display: flex; align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ivory);
}
.qty button {
  padding: 14px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--bark);
  font-size: 18px;
  transition: background .15s;
}
.qty button:hover { background: var(--ivory-2); }
.qty input {
  width: 50px;
  text-align: center;
  border: 0;
  padding: 14px 0;
  background: transparent;
  font-weight: 600;
  color: var(--bark);
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.btn-buy {
  flex: 1;
  background: var(--bark);
  color: var(--ivory);
  border: 0;
  border-radius: var(--r-md);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-buy:hover { background: var(--ember); transform: translateY(-1px); }
.btn-buy:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-fav-lg {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--rule);
  cursor: pointer;
  color: var(--bark);
  display: grid; place-items: center;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-fav-lg:hover, .btn-fav-lg.on { background: var(--ember); border-color: var(--ember); color: var(--ivory); }

/* Reassurance rows (livraison / garantie / paiement) */
.pdp-info-rows {
  margin-top: var(--s-5);
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.pdp-info-row {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.pdp-info-row .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory-2);
  display: grid; place-items: center;
  color: var(--ember);
  flex-shrink: 0;
}
.pdp-info-row strong { color: var(--bark); }

/* Specs section (sous le PDP) */
.pdp-extras {
  padding: var(--s-7) 0 var(--s-9);
  border-top: 1px solid var(--rule);
  margin-top: var(--s-9);
}

/* Rupture banner */
.pdp-rupture {
  background: rgba(184,85,58,0.1);
  border: 1px solid rgba(184,85,58,0.3);
  color: var(--ember);
  padding: var(--s-4);
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 600;
}

/* ===== CART (panier) ===== */
.cart-shell { padding: var(--s-7) 0 var(--s-9); }

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-6);
  margin-top: var(--s-5);
}
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }

.cart-items {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: var(--s-4);
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  transition: border-color .15s;
}
.cart-item:hover { border-color: var(--rule-strong); }
@media (max-width: 700px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: var(--s-3);
  }
  .cart-item .cart-qty,
  .cart-item .cart-price,
  .cart-item .cart-remove {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.cart-img {
  width: 96px; height: 96px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ivory-2);
}
.cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .cart-img { width: 80px; height: 80px; } }

.cart-info { line-height: 1.4; }
.cart-info .cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-info h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--bark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.cart-info .variant {
  font-size: 12px;
  color: var(--muted);
}

.cart-qty {
  display: flex; align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ivory);
}
.cart-qty button {
  padding: 8px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--bark);
  font-size: 14px;
}
.cart-qty button:hover { background: var(--ivory-2); }
.cart-qty input {
  width: 38px;
  text-align: center;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--bark);
  font-weight: 600;
}

.cart-price {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 18px;
  font-weight: 600;
  color: var(--bark);
  min-width: 90px;
  text-align: right;
  letter-spacing: -0.01em;
}

.cart-remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.cart-remove:hover { background: rgba(184,85,58,0.1); color: var(--ember); }

/* Cart summary */
.cart-summary {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
  align-self: start;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.cart-summary .summary-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.cart-summary .summary-row strong { color: var(--bark); }
.cart-summary .summary-row.muted { color: var(--muted); font-size: 13px; }
.cart-summary .summary-row.total {
  border-top: 2px solid var(--bark);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  font-size: 18px;
}
.cart-summary .summary-row.total strong {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 22px;
  color: var(--ember);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.summary-promo {
  display: flex; gap: 6px;
  margin-top: var(--s-3);
}
.summary-promo input {
  flex: 1;
  padding: 10px 12px;
  background: var(--ivory-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.summary-promo button {
  padding: 10px 16px;
  background: var(--bark);
  color: var(--ivory);
  border: 0;
  border-radius: var(--r-sm);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.summary-promo button:hover { background: var(--ember); }

.reassure {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px;
}
.reassure .row {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.reassure .ico {
  color: var(--moss);
  width: 18px; height: 18px;
  flex-shrink: 0;
}

/* Empty state cart */
.cart-empty {
  text-align: center;
  padding: var(--s-9) var(--s-4);
}
.cart-empty .ico {
  width: 64px; height: 64px;
  color: var(--rule-strong);
  margin: 0 auto var(--s-4);
}
.cart-empty h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: var(--s-3);
  color: var(--bark);
}
.cart-empty p { color: var(--muted); margin-bottom: var(--s-4); }

/* ===== CHECKOUT (stepper + form) ===== */
.checkout-stepper {
  background: var(--ivory-2);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.checkout-stepper .stepper-track {
  display: flex; justify-content: center; gap: var(--s-5);
  flex-wrap: wrap;
}
.checkout-stepper .step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.checkout-stepper .step.active { color: var(--ember); }
.checkout-stepper .step.done { color: var(--bark); }
.checkout-stepper .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--rule);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.checkout-stepper .step.active .step-num { background: var(--ember); color: var(--ivory); }
.checkout-stepper .step.done .step-num { background: var(--bark); color: var(--ivory); }

.ck-form-modern {
  display: flex; flex-direction: column; gap: var(--s-3);
}
.ck-form-modern label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bark);
}
.ck-form-modern label > input:not([type="checkbox"]):not([type="radio"]),
.ck-form-modern label > select,
.ck-form-modern label > textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.ck-form-modern input,
.ck-form-modern select,
.ck-form-modern textarea {
  padding: 14px 16px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--bark);
  transition: border-color .15s;
}
.ck-form-modern input:focus,
.ck-form-modern select:focus,
.ck-form-modern textarea:focus {
  outline: none;
  border-color: var(--bark);
}
.ck-form-modern .row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3);
}
@media (max-width: 600px) { .ck-form-modern .row-2 { grid-template-columns: 1fr; } }

/* Récap section (côté droit du checkout) */
.ck-recap-section {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-4);
  margin-bottom: var(--s-3);
}
.ck-recap-section h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--s-2);
  font-weight: 600;
}
.ck-recap-totals {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: var(--s-4);
  border-radius: var(--r-md);
  margin: var(--s-3) 0;
}
.ck-recap-totals .row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
}
.ck-recap-totals .row strong { color: var(--bark); }
.ck-recap-totals .total-final {
  border-top: 2px solid var(--bark);
  margin-top: 8px; padding-top: 12px;
  font-size: 18px;
}
.ck-recap-totals .total-final strong {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 22px;
  color: var(--ember);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ck-cgv {
  display: flex; gap: 10px; align-items: flex-start;
  padding: var(--s-3);
  background: var(--ivory-2);
  border-radius: var(--r-md);
  margin: var(--s-3) 0;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.ck-cgv input { margin-top: 2px; flex-shrink: 0; }
.ck-cgv a { color: var(--ember); border-bottom: 1px solid rgba(184,85,58,0.3); }
.ck-cgv a:hover { border-color: var(--ember); }

/* ==========================================================================
   COMPAT HOME PAGE — classes legacy de index.php
   (sera supprimé en Phase 2 quand la home sera refondue)
   ========================================================================== */

/* ==========================================================================
   PHASE 3B — UTILITAIRES MODERNES POUR PATTERNS LEGACY
   (remplacent les inline styles "border-left vert + bg-light" qu'on trouve
    dans toutes les pages SEO. Plus besoin d'inline styles — les pages
    refondues utilisent ces classes ; les pages encore legacy gardent leur
    look actuel via les alias --c-*.)
   ========================================================================== */

/* Hero doux (intro de page SEO) */
.soft-hero {
  background: rgba(235,227,213,0.45);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-7) 0 var(--s-6);
}
.soft-hero-inner { max-width: 880px; margin: 0 auto; }
.soft-hero .h-section { margin-top: var(--s-3); margin-bottom: var(--s-4); }
.soft-hero .lede { font-size: 18px; }

/* Callout — bloc encadré (sommaire, info, définition, etc.) */
.callout {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin: var(--s-5) 0;
}
.callout h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.callout ol, .callout ul {
  margin: 0; padding-left: var(--s-5);
  line-height: 1.85;
  color: var(--bark);
}
.callout li { padding: 2px 0; }
.callout a { color: var(--bark); border-bottom: 1px solid var(--rule); transition: color .15s, border-color .15s; }
.callout a:hover { color: var(--ember); border-color: var(--ember); }

/* Callout strong — bloc accent ember (résumé, à retenir) */
.callout-strong {
  background: linear-gradient(135deg, rgba(184,85,58,0.08), rgba(184,85,58,0.02));
  border: 1px solid rgba(184,85,58,0.25);
  border-left: 3px solid var(--ember);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin: var(--s-5) 0;
}
.callout-strong h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bark);
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.callout-strong p { color: var(--bark); line-height: 1.7; }

/* Callout dark — CTA / mise en avant final (panel sombre avec bg image floue) */
.callout-dark {
  background: var(--bark-2);
  color: var(--ivory);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  margin: var(--s-7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Quand le callout-dark est le dernier élément avant la fin de section/main, plus de gap */
.callout-dark:last-child { margin-bottom: var(--s-9); }
/* Image floue en arrière-plan (variable injectée dans header.php) */
.callout-dark::before {
  content: '';
  position: absolute;
  inset: -20px; /* déborde pour cacher les bords flous */
  background-image: var(--callout-bg-url, none);
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(0.95);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
/* Overlay sombre par-dessus l'image pour lisibilité texte */
.callout-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,31,24,0.62), rgba(26,22,20,0.78));
  z-index: -1;
  pointer-events: none;
}
.callout-dark > * { position: relative; z-index: 1; }
.callout-dark h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.callout-dark p {
  color: rgba(245,240,232,0.75);
  margin: 0 auto var(--s-4);
  max-width: 56ch;
  line-height: 1.7;
}
.callout-dark .btn-primary {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ivory);
}
.callout-dark .btn-primary:hover { background: var(--ember-dark); border-color: var(--ember-dark); }

/* Article content (corps de page SEO : pillar, guide, comparatif…) */
.article-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--bark);
  max-width: 720px;
  margin: 0 auto;
}
.article-content > h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bark);
  margin: var(--s-7) 0 var(--s-3);
  line-height: 1.2;
}
.article-content > h2:first-child { margin-top: 0; }
.article-content > h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--bark);
  margin: var(--s-5) 0 var(--s-3);
}
.article-content > p { margin-bottom: var(--s-4); }
.article-content > ul, .article-content > ol {
  margin-bottom: var(--s-4);
  padding-left: var(--s-5);
  color: var(--bark);
}
.article-content > ul li, .article-content > ol li { margin-bottom: 6px; }
.article-content a { color: var(--ember); border-bottom: 1px solid rgba(184,85,58,0.3); transition: color .15s, border-color .15s; }
.article-content a:hover { border-color: var(--ember); }

/* FAQ details (replaces inline styled <details>) */
.faq-list { margin-top: var(--s-5); }
.faq-list h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--bark);
  margin-bottom: var(--s-5);
  letter-spacing: -0.015em;
}
.faq-list details {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: 10px;
  transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--rule-strong); }
.faq-list details summary {
  font-weight: 600;
  color: var(--bark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  font-size: 15px;
}
.faq-list details summary::-webkit-details-marker { display: none; }
.faq-list details summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--ember);
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  margin-top: var(--s-3);
  color: var(--muted);
  line-height: 1.7;
}

/* Specs table (essence specs) */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: var(--s-5) 0;
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.specs-table th {
  background: rgba(235,227,213,0.5);
  font-weight: 600;
  color: var(--bark);
  width: 40%;
  border-bottom: 1px solid var(--rule);
}
.specs-table td {
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }

/* Tags row (essences, lexique, etc.) — version moderne */
.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: var(--s-4) 0;
}
.tag-row a, .tag-row span.tag {
  padding: 8px 14px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--bark);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.tag-row a:hover { background: var(--ember); color: var(--ivory); border-color: var(--ember); }

/* ==========================================================================
   COMPAT HOME PAGE — classes legacy de index.php
   (sera supprimé en Phase 2 quand la home sera refondue)
   ========================================================================== */

/* ==========================================================================
   PHASE 2 — COMPOSANTS MODERNES HOME
   ========================================================================== */

/* Section header générique (eyebrow + titre + lede + lien à droite) */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-top: var(--s-6);
  margin-bottom: var(--s-7);
}
.sec-head-l { max-width: 640px; }
.sec-head-l .h-section { margin-top: var(--s-3); }
.sec-head-l .lede { margin-top: var(--s-4); }

/* ===== HERO MODERNE (override le compat .hero) ===== */
.hero-modern { padding: var(--s-9) 0 var(--s-8); position: relative; overflow: hidden; }
.hero-modern .hero-arc {
  position: absolute;
  top: -300px; right: -150px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,85,58,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.hero-copy .eyebrow { margin-bottom: var(--s-4); }
.hero-copy .h-display { margin-bottom: var(--s-5); }
.hero-meta { display: flex; flex-direction: column; gap: var(--s-5); }
.hero-meta .lede { font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ivory-2);
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-tag {
  position: absolute;
  bottom: var(--s-5); left: var(--s-5);
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--s-5);
  font-size: 13px;
  color: var(--bark);
  line-height: 1.4;
  max-width: 320px;
}
.hero-tag .num {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ember);
  font-style: italic;
}

/* ===== USPS (4 piliers modernes) ===== */
.usps {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(235,227,213,0.4);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7);
}
@media (max-width: 900px) { .usp-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (max-width: 540px) { .usp-grid { grid-template-columns: 1fr; } }

.usp { text-align: left; }
.usp-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  color: var(--ember);
  margin-bottom: var(--s-4);
}
.usp h4 {
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  color: var(--bark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.usp p {
  font-size: 14px; line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ===== PRODUCTS GRID (cards modernes) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) {
  .products-grid, .products-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .products-grid, .products-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
@media (max-width: 480px) {
  .products-grid, .products-grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 20px 40px -20px rgba(58,46,38,0.18);
}
.card-media {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--ivory-2);
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.card:hover .card-media img { transform: scale(1.05); }

.card-badges {
  position: absolute; top: var(--s-3); left: var(--s-3);
  display: flex; gap: 6px; z-index: 2;
}
.badge-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  background: var(--bark);
  color: var(--ivory);
}
.badge-pill.promo { background: var(--ember); }
.badge-pill.eco   { background: var(--moss); }
.badge-pill.new   { background: var(--bark); }

.card-fav {
  position: absolute; top: var(--s-3); right: var(--s-3);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  color: var(--bark);
  z-index: 2;
  transition: background .2s, color .2s, transform .15s;
}
.card-fav:hover { background: var(--ember); color: var(--ivory); }
.card-fav.on { background: var(--ember); color: var(--ivory); }

.card-quick {
  position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3);
  background: var(--bark);
  color: var(--ivory);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  text-align: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  z-index: 2;
}
.card:hover .card-quick { opacity: 1; transform: translateY(0); }

.card-body {
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.card-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
}
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--bark);
  letter-spacing: -0.01em;
  margin: 0;
}
.card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  gap: var(--s-3);
}
.card-price {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 20px;
  font-weight: 600;
  color: var(--bark);
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
  letter-spacing: -0.01em;
}
.card-price small {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.card-price .strike {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}
.card-specs {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.card-specs span {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  background: var(--ivory-2);
  border-radius: var(--r-full);
  color: var(--muted);
}

/* ===== EDITORIAL SPLIT ===== */
.editorial { padding: var(--s-9) 0; }
.ed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) { .ed-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.ed-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ivory-2);
}
.ed-img img { width: 100%; height: 100%; object-fit: cover; }
.ed-copy .h-section { margin-top: var(--s-3); margin-bottom: var(--s-5); }
.ed-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.ed-stat .num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--ember);
  font-style: italic;
  line-height: 1;
}
.ed-stat .lbl {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* ===== CATEGORIES ===== */
.cats { padding: var(--s-9) 0; background: rgba(235,227,213,0.4); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 800px) { .cats-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--rule-strong); }
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  transition: transform .5s, opacity .3s;
}
.cat-card:hover img { transform: scale(1.05); opacity: 1; }
.cat-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-6);
  background: linear-gradient(to top, rgba(42,31,24,0.95), rgba(42,31,24,0.4) 70%, transparent);
  color: var(--ivory);
}
.cat-content .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.7);
  font-weight: 600;
}
.cat-content h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.015em;
  margin-top: 6px;
}
.cat-content .row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-3);
  font-size: 13px;
  color: rgba(245,240,232,0.85);
}
.cat-content .arrow { font-size: 18px; }

/* ===== TESTIMONIALS ===== */
.testi { padding: var(--s-9) 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.testi-stars {
  color: var(--ember);
  font-size: 14px;
  letter-spacing: 2px;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--bark);
  font-style: italic;
  margin: 0;
}
.testi-author {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bark);
  color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 14px; font-weight: 600;
  font-style: italic;
}
.testi-author-info .name {
  font-size: 13px; font-weight: 600;
  color: var(--bark);
}
.testi-author-info .meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.testi-trust {
  margin-top: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 700px) { .testi-trust { grid-template-columns: repeat(2, 1fr); } }
.trust-item { text-align: center; }
.trust-item .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.trust-item .num em {
  font-size: 16px;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}
.trust-item .lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== CTA NEWSLETTER ===== */
.cta-band {
  padding: var(--s-9) 0;
  background: var(--bark-2);
  color: var(--ivory);
}
.cta-band .eyebrow { color: var(--ember); }
.cta-band .h-section { color: var(--ivory); }
.cta-band .lede { color: rgba(245,240,232,0.75); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

.cta-form {
  display: flex;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.2);
  border-radius: var(--r-full);
  padding: 6px;
  gap: 6px;
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 18px;
  color: var(--ivory);
  font-size: 14px;
  outline: none;
}
.cta-form input::placeholder { color: rgba(245,240,232,0.4); }
.cta-form button {
  background: var(--ember);
  color: var(--ivory);
  border: 0;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s;
}
.cta-form button:hover { background: var(--ember-dark); }

/* ==========================================================================
   PHASE 3A — BOUTIQUE (catalogue + filtres) & SEO INDEX (chips + sections)
   ========================================================================== */

/* ===== Shop head (haut de la boutique avec titre + lede) ===== */
.shop-head { padding: var(--s-7) 0 var(--s-5); }
.shop-head .pdp-crumbs,
.shop-head .breadcrumb-inline {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.shop-head .pdp-crumbs a:hover { color: var(--ember); }
.shop-head-row {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--s-7); flex-wrap: wrap;
}

/* ===== Shop grid : sidebar + main ===== */
.shop-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-9);
}
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ===== Sidebar filtres ===== */
.shop-side { display: flex; flex-direction: column; gap: var(--s-5); }

.filter-group {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
}
.filter-group h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--s-3);
  font-weight: 600;
}
.filter-group ul { display: flex; flex-direction: column; gap: 4px; }

.filter-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--bark);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .15s;
}
.filter-row > span:first-child,
.filter-row a > span:first-child {
  display: inline-flex; align-items: center; gap: 12px;
}
.filter-row a {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.filter-row .check {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid var(--rule-strong);
  background: var(--ivory);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.filter-row.checked .check {
  background: var(--ember);
  border-color: var(--ember);
}
.filter-row.checked .check::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 4px; height: 7px;
  border: solid var(--ivory);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-row:hover { color: var(--ember); }
.filter-row .count {
  font-size: 11px;
  color: var(--muted);
  background: var(--ivory-2);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.filter-row a { color: inherit; display: block; width: 100%; }
.filter-row a.active { color: var(--ember); font-weight: 600; }

/* Price range (inputs côté client) */
.price-range {
  display: flex; gap: 8px;
  margin-top: 4px;
}
.price-range input {
  width: 50%;
  padding: 8px 10px;
  font-size: 13px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--bark);
}
.price-range input:focus { border-color: var(--bark); outline: none; }
.filter-group .filter-submit {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--bark);
  color: var(--ivory);
  border-radius: var(--r-sm);
  border: 1px solid var(--bark);
  cursor: pointer;
  transition: background .2s;
}
.filter-group .filter-submit:hover { background: var(--ember); border-color: var(--ember); }

/* ===== Shop toolbar ===== */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s-4);
  padding: var(--s-3) 0;
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
.shop-toolbar strong { color: var(--bark); }
.shop-toolbar select {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--bark);
  cursor: pointer;
}
.shop-toolbar select:focus { border-color: var(--bark); outline: none; }
.shop-toolbar form {
  display: flex; align-items: center; gap: 10px;
}

.toolbar-views { display: inline-flex; gap: 4px; }
.view-btn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}
.view-btn:hover { color: var(--bark); border-color: var(--rule-strong); }
.view-btn.active {
  background: var(--bark);
  color: var(--ivory);
  border-color: var(--bark);
}

/* ===== Empty state (aucun produit) ===== */
.shop-empty {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-7);
  text-align: center;
}
.shop-empty p { margin-bottom: var(--s-4); color: var(--muted); }

/* ==========================================================================
   SEO INDEX (Toutes nos ressources)
   ========================================================================== */
.ressources-head {
  text-align: center;
  padding: var(--s-7) 0 var(--s-5);
}
.ressources-head .h-section {
  margin-top: var(--s-3);
}
.ressources-head .lede {
  margin: var(--s-4) auto 0;
  text-align: center;
}
.ressources-head .lede strong {
  color: var(--ember);
  font-weight: 600;
}

/* TOC chips (table des matières) */
.toc-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: var(--s-5);
}
.toc-chips a {
  padding: 8px 16px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--bark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .15s, color .15s, border-color .15s;
}
.toc-chips a:hover {
  background: var(--bark);
  color: var(--ivory);
  border-color: var(--bark);
}
.toc-chips a .count {
  font-size: 11px;
  margin-left: 4px;
  opacity: 0.6;
}

/* Sections de ressources (pillars, guides, essences, etc.) */
.ress-section {
  padding: var(--s-7) 0;
  scroll-margin-top: 100px;
  border-top: 1px solid var(--rule);
}
.ress-section:first-of-type { border-top: 0; padding-top: var(--s-5); }

.ress-section .sec-head { margin-bottom: var(--s-5); padding-top: 0; }
.ress-section .sec-head-l .h-section { font-size: clamp(28px, 3.5vw, 44px); margin-top: 8px; }

/* Cards (pillars premium, guides, comparatifs, usages) */
.ress-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (max-width: 700px) { .ress-card-grid { grid-template-columns: 1fr; } }

.ress-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ress-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
  box-shadow: 0 12px 24px -16px rgba(58,46,38,0.18);
}
.ress-card.featured {
  background: linear-gradient(135deg, rgba(184,85,58,0.05), transparent);
  border-color: rgba(184,85,58,0.3);
}
.ress-card .meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: 6px;
}
.ress-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--bark);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.ress-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Tags (essences, lexique) */
.ress-tag-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ress-tag {
  padding: 10px 18px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--bark);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}
.ress-tag:hover {
  background: var(--ember);
  color: var(--ivory);
  border-color: var(--ember);
}

/* Liste compacte (questions, lexique, villes) */
.ress-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}
.ress-list-item {
  padding: 10px 14px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--bark);
  font-size: 13px;
  transition: background .15s, border-color .15s, color .15s;
  line-height: 1.4;
}
.ress-list-item:hover {
  border-color: var(--ember);
  color: var(--ember);
}
.ress-list-item .arrow { color: var(--muted); margin-right: 4px; transition: color .15s; }
.ress-list-item:hover .arrow { color: var(--ember); }

/* Villes spéciales (avec département) */
.ress-list-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* CTA final */
.ressources-cta {
  background: var(--bark-2);
  color: var(--ivory);
  text-align: center;
  padding: var(--s-7) var(--s-5);
  border-radius: var(--r-lg);
  margin-top: var(--s-9);
}
.ressources-cta h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--ivory);
  margin-bottom: 10px;
}
.ressources-cta p { color: rgba(245,240,232,0.7); margin-bottom: var(--s-4); }

/* ==========================================================================
   COMPAT HOME PAGE — classes legacy de index.php
   (sera supprimé en Phase 2 quand la home sera refondue)
   ========================================================================== */

/* Hero (intro de la home) */
.hero {
  padding: var(--s-9) 0 var(--s-7);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,85,58,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bark);
  margin-bottom: var(--s-5);
}
.hero h1 .highlight,
.hero .highlight {
  color: var(--ember);
  font-style: italic;
}
.hero p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: var(--s-5);
}

/* CTA principal */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--bark);
  color: var(--ivory);
  border-radius: var(--r-full);
  border: 1px solid var(--bark);
  transition: background .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.btn-cta:hover {
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-1px);
}
.btn-cta::after { content: '→'; }

/* Section piliers (4 colonnes USP) */
.piliers {
  padding: var(--s-7) 0;
  background: var(--ivory-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pilier {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.pilier-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  color: var(--ember);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.pilier:hover .pilier-icon {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ivory);
}
.pilier-text { line-height: 1.4; }
.pilier-titre {
  font-size: 14px;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 2px;
}
.pilier-sub {
  font-size: 13px;
  color: var(--muted);
}

/* Section titre + lien voir tout */
.section-titre {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  padding-top: var(--s-3);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--s-3);
}
.section-titre h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bark);
  margin: 0;
}
.view-all {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ember);
  border-bottom: 1px solid var(--ember);
  padding-bottom: 3px;
  transition: color .2s;
}
.view-all:hover { color: var(--ember-dark); }

/* Onglets de catégories (centrés au-dessus des best-sellers) */
.section a[style*="border-bottom: 2px solid"] {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bark) !important;
  border-bottom-color: var(--bark) !important;
  transition: color .2s;
}

/* Cards "favori / comparer" (toolbar haute des cards) — déjà géré dans .card-actions */

/* ============================================================================
   FLATPICKR — Thème "Leblond Bois de Chauffage"
   Surcharge minimale du thème par défaut pour s'aligner sur la palette ivory/bark/ember.
   ============================================================================ */

/* Input alt (lecture humaine) — assorti aux autres inputs du checkout */
.flatpickr-input.form-control.input,
.flatpickr-alt-input,
input.flatpickr-input + input[readonly] {
  font-family: var(--sans);
  font-size: 15px;
  cursor: pointer;
}

/* Calendrier popup */
.flatpickr-calendar {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(58, 46, 38, 0.12);
  font-family: var(--sans);
  width: 320px;
  padding: 8px;
}
.flatpickr-calendar.arrowTop::before { border-bottom-color: var(--rule); }
.flatpickr-calendar.arrowTop::after  { border-bottom-color: var(--ivory); }

/* Header — mois et année */
.flatpickr-months {
  padding-top: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 6px;
}
.flatpickr-months .flatpickr-month {
  color: var(--bark);
  height: 38px;
}
.flatpickr-current-month {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--bark);
  padding: 4px 0 0;
}
.flatpickr-current-month .cur-month { font-style: italic; }
.flatpickr-current-month .cur-year {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
}
.flatpickr-current-month input.cur-year { font-family: var(--sans); }

/* Flèches navigation mois */
.flatpickr-prev-month, .flatpickr-next-month {
  fill: var(--bark) !important;
  color: var(--bark) !important;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background .15s;
}
.flatpickr-prev-month:hover, .flatpickr-next-month:hover {
  background: var(--ivory-2);
  fill: var(--ember) !important;
}
.flatpickr-prev-month svg, .flatpickr-next-month svg { width: 14px; height: 14px; }

/* Jours de la semaine (L M M J V S D) */
.flatpickr-weekdays { background: transparent; }
.flatpickr-weekday {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted) !important;
  background: transparent !important;
}

/* Jours du mois */
.flatpickr-days { width: 100% !important; }
.dayContainer { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.flatpickr-day {
  color: var(--bark);
  font-weight: 500;
  font-size: 13px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  height: 36px;
  line-height: 34px;
  margin: 1px 0;
  max-width: none;
}
.flatpickr-day:hover {
  background: var(--ivory-2);
  border-color: var(--rule);
  color: var(--bark);
}

/* Jour sélectionné — ember */
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--ember) !important;
  border-color: var(--ember) !important;
  color: #fff !important;
  font-weight: 600;
}

/* Aujourd'hui */
.flatpickr-day.today {
  border-color: var(--ember);
  color: var(--ember);
  font-weight: 600;
}
.flatpickr-day.today:hover {
  background: var(--ember);
  color: #fff;
}

/* Jours désactivés (dimanches, hors plage min/max) */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover,
.flatpickr-day.flatpickr-disabled {
  color: var(--rule-strong) !important;
  background: transparent;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Jours du mois précédent/suivant */
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: var(--rule-strong);
}
.flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover {
  background: var(--ivory-2);
  color: var(--muted);
}

/* ============================================================================
   MOBILE — RÈGLES GLOBALES (audit mobile complet 08/05/2026)
   Tous les fixes anti-zoom iOS, touch targets, hover, reduced-motion, etc.
   ============================================================================ */

/* === 1. Anti-grossissement iOS landscape + smooth scroll vertical === */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 110px; /* anchors compensent header sticky + topbar */
}

/* === 2. Anti-scroll horizontal accidentel sur mobile === */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* === 3. Pas de flash bleu Android au tap, touch instantané (élimine délai 300ms) === */
* { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], .btn, .head-tool, .pdp-opt,
.toc-chips a, .tag-row a, .ress-tag, .burger,
input[type="submit"], input[type="button"],
input[type="checkbox"], input[type="radio"], select, summary {
  touch-action: manipulation;
}

/* === 4. Anti-débordement images par défaut === */
img { max-width: 100%; height: auto; }

/* === 5. Refs/codes/emails ne débordent jamais (panier, commande, IBAN) === */
code, .cmd-ref, .order-ref, .ck-recap-section dd,
.cmd-tracking-num, [data-overflow-safe] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* === 6. Smooth scroll iOS pour conteneurs scrollables horizontaux === */
.cmd-timeline, .pdp-thumbs, .topbar,
[data-scroll-x], .cart-summary {
  -webkit-overflow-scrolling: touch;
}

/* === 7. Safe-area iPhone (notch / Dynamic Island / home indicator) === */
.header { padding-top: env(safe-area-inset-top); }
.footer { padding-bottom: max(var(--s-5), env(safe-area-inset-bottom)); }
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* === 8. min-width: 0 sur flex/grid items pour empêcher overflow === */
.hero-grid > *, .pdp-grid > *, .cart-grid > *, .cart-item > *,
.checkout-stepper .step, .cmd-timeline .cmd-step,
.foot-grid > *, .ed-grid > * {
  min-width: 0;
}

/* ============================================================================
   HOVER — uniquement appareils à pointer précis (souris, trackpad)
   Évite les hover figés après tap sur mobile/tablette
   ============================================================================ */
@media (hover: none) {
  .btn:hover, .btn-buy:hover, .btn-fav-lg:hover,
  .card:hover, .livraison-recap-card:hover, .ress-card:hover,
  .head-tool:hover, .pdp-opt:hover, .tag-row a:hover,
  .ress-tag:hover, .toc-chips a:hover {
    transform: none !important;
  }
  .card:hover { box-shadow: none !important; }
}

/* ============================================================================
   PREFERS-REDUCED-MOTION — accessibilité + économie batterie
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .topbar-track { animation: none !important; }
}

/* ============================================================================
   MOBILE — < 700 px (iPhone, Android phones)
   ============================================================================ */
@media (max-width: 700px) {
  /* === Anti-zoom iOS au focus input — DOIT être 16px minimum === */
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  select, textarea {
    font-size: 16px !important;
  }

  /* === Touch targets head-tools : 44×44 (Apple HIG) === */
  .head-tool { width: 44px !important; height: 44px !important; }

  /* === Topbar : marquee discrète, animation lente === */
  .topbar { padding: 6px 0; }
  .topbar-item { font-size: 11px; gap: 6px; }
  .topbar-track { animation-duration: 60s; gap: 24px; padding-left: 24px; }

  /* === Cart-remove : touch target élargi === */
  .cart-remove {
    padding: 12px 16px !important;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* === Section padding mobile réduit === */
  .section { padding: var(--s-6) 0; }
  .container { padding: 0 var(--s-4); }

  /* === Boutons bloc full-width par défaut sur mobile === */
  .btn-lg { padding: 14px 22px; font-size: 14px; }

  /* === Flatpickr touch targets jours === */
  .flatpickr-day { min-height: 40px; line-height: 38px; }

  /* === Suggestions adresse — limite hauteur pour ne pas dépasser viewport === */
  .suggestions {
    max-height: 50vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================================
   PETIT MOBILE — < 500 px (iPhone SE, vieux Android)
   ============================================================================ */
@media (max-width: 500px) {
  /* === Topbar cachée — gagne ~36px en haut === */
  .topbar { display: none; }

  /* === Header compact === */
  .header-inner { height: 64px !important; }
  .brand-mark { width: 36px !important; height: 36px !important; font-size: 18px !important; }
  .brand-text { font-size: 17px !important; }
  .brand-text small { display: none !important; } /* tagline cachée */

  /* === Hero h-display un peu plus contenu === */
  .h-display { font-size: 38px !important; }

  /* === Scroll-padding ajusté (pas de topbar) === */
  html { scroll-padding-top: 70px; }
}

/* ============================================================================
   FLATPICKR — calendrier responsive
   ============================================================================ */
@media (max-width: 380px) {
  .flatpickr-calendar {
    width: calc(100vw - 32px) !important;
    max-width: 320px;
  }
}

/* ============================================================================
   TIMELINE COMMANDE — empilage vertical sur < 600 px (au lieu d'overflow-x)
   ============================================================================ */
@media (max-width: 600px) {
  .cmd-timeline {
    flex-direction: column;
    gap: var(--s-4);
    overflow: visible;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .cmd-timeline::before {
    top: 18px; bottom: 18px;
    left: 19px; right: auto;
    width: 2px; height: auto;
  }
  .cmd-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--s-3);
    text-align: left;
    width: 100%;
    flex: 0 0 auto;
  }
  .cmd-step-icon { margin: 0 !important; flex-shrink: 0; }
  .cmd-step-label { font-size: 14px !important; line-height: 1.3; }
  .cmd-step-date { font-size: 12px; margin-top: 2px; }
}

/* ============================================================================
   STEPPER CHECKOUT — version compacte mobile
   ============================================================================ */
@media (max-width: 540px) {
  .checkout-stepper .stepper-track { gap: var(--s-3); }
  .checkout-stepper .step {
    font-size: 11px;
    flex: 1; min-width: 0;
    flex-direction: column; gap: 4px;
    text-align: center;
  }
  .checkout-stepper .step-num { width: 24px; height: 24px; font-size: 11px; }
}

/* ============================================================================
   TABLES SEO / SPECS — scroll horizontal smooth si dépassement
   ============================================================================ */
@media (max-width: 600px) {
  .specs-table { font-size: 13px; }
  .specs-table th, .specs-table td { padding: 10px 12px; }
  .article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

/* ============================================================================
   DRAWER FILTRE BOUTIQUE — bouton "Filtrer" mobile + panneau slide-in
   ============================================================================ */
.shop-filter-toggle {
  display: none;
  width: 100%;
  padding: 14px 18px;
  background: var(--bark);
  color: var(--ivory);
  border: 0;
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-bottom: var(--s-4);
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.shop-filter-toggle svg { stroke: currentColor; }
.shop-filter-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(42, 31, 24, 0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s;
}
.shop-filter-backdrop.open { opacity: 1; }

@media (max-width: 900px) {
  .shop-filter-toggle { display: inline-flex; }
  .shop-side {
    position: fixed; top: 0; left: 0;
    width: 88vw; max-width: 360px;
    height: 100dvh;
    background: var(--ivory);
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    padding: var(--s-5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 201;
    transform: translateX(-100%);
    transition: transform .25s ease;
    padding-top: max(var(--s-5), env(safe-area-inset-top));
    padding-bottom: max(var(--s-5), env(safe-area-inset-bottom));
  }
  .shop-side.open { transform: translateX(0); }
  .shop-side .shop-side-close {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px;
    background: transparent; border: 0;
    color: var(--bark);
    cursor: pointer;
    border-radius: 50%;
  }
  .shop-side .shop-side-close:hover { background: var(--ivory-2); }
  .shop-filter-backdrop { display: block; pointer-events: none; }
  .shop-filter-backdrop.open { pointer-events: auto; }
  body.shop-filter-open { overflow: hidden; }
  body.shop-filter-open .header { display: none; }
}
.shop-side .shop-side-close { display: none; }

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
  position: fixed; inset: 0;
  z-index: 500;
}
.search-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,22,20,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 100%; height: 100%;
  border: 0; cursor: pointer;
}
.search-panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-6) var(--gutter) var(--s-5);
  z-index: 1;
  transform: translateY(-100%);
  transition: transform .22s cubic-bezier(0.4,0,0.2,1);
}
.search-overlay.open .search-panel {
  transform: translateY(0);
}
body.search-open { overflow: hidden; }

.search-input-wrap {
  display: flex; align-items: center; gap: var(--s-3);
  max-width: 680px; margin: 0 auto;
  border: 2px solid var(--bark);
  border-radius: var(--r-md);
  background: var(--ivory);
  padding: 4px var(--s-4);
  transition: border-color .15s;
}
.search-input-wrap:focus-within { border-color: var(--ember); }
.search-input-wrap svg { color: var(--muted); flex-shrink: 0; }
#search-input {
  flex: 1; border: 0; background: transparent;
  font-size: 18px; font-family: var(--sans);
  color: var(--bark); padding: 12px 0;
  -webkit-appearance: none;
}
#search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
#search-input::placeholder { color: var(--muted); }
#search-input:focus { outline: none; }
#btn-search-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ivory-2);
  border: 1px solid var(--rule);
  color: var(--bark);
  display: grid; place-items: center;
  flex-shrink: 0; cursor: pointer;
  transition: background .15s, color .15s;
}
#btn-search-close:hover { background: var(--bark); color: var(--ivory); border-color: var(--bark); }
.search-hints {
  max-width: 680px; margin: var(--s-4) auto 0;
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.search-hints > span { font-weight: 600; }
.search-hints a {
  padding: 6px 14px;
  background: var(--ivory-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-full);
  color: var(--bark); font-weight: 500;
  transition: all .15s;
}
.search-hints a:hover { background: var(--bark); color: var(--ivory); border-color: var(--bark); }

/* ==========================================================================
   PRODUCT REVIEWS — Fiche produit
   ========================================================================== */
.reviews-section {
  border-top: 1px solid var(--rule);
  padding: var(--s-7) 0 var(--s-9);
  margin-top: var(--s-7);
}
.reviews-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.reviews-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500; color: var(--bark);
  letter-spacing: -0.015em; margin: 0;
}
.review-aggregate {
  display: flex; align-items: center; gap: var(--s-5);
}
.review-big-score {
  font-family: var(--serif);
  font-size: 56px; font-weight: 500;
  color: var(--bark); line-height: 1;
  letter-spacing: -0.02em;
}
.review-stars-row {
  display: flex; gap: 3px; align-items: center;
}
.review-stars-row svg { width: 18px; height: 18px; }
.star-full  { fill: var(--ember); stroke: var(--ember); }
.star-half  { fill: none; stroke: var(--ember); }
.star-empty { fill: none; stroke: var(--rule-strong); }
.review-count-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.review-list {
  display: flex; flex-direction: column; gap: var(--s-4);
}
.review-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: border-color .15s;
}
.review-card:hover { border-color: var(--rule-strong); }
.review-card-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap;
  gap: var(--s-2); margin-bottom: var(--s-3);
}
.review-card-meta { display: flex; flex-direction: column; gap: 4px; }
.review-card-author { font-weight: 600; color: var(--bark); font-size: 15px; }
.review-card-date   { font-size: 12px; color: var(--muted); }
.review-stars-sm { display: flex; gap: 2px; }
.review-stars-sm svg { width: 14px; height: 14px; }
.review-card-body {
  color: var(--bark); font-size: 15px;
  line-height: 1.65; margin: 0;
}
.review-card-photo {
  margin-top: var(--s-3);
}
.review-card-photo img {
  max-width: 180px; border-radius: var(--r-sm);
  border: 1px solid var(--rule);
  cursor: zoom-in; transition: opacity .15s;
}
.review-card-photo img:hover { opacity: 0.88; }
.review-admin-reply {
  margin-top: var(--s-4);
  background: linear-gradient(135deg, rgba(74,93,63,0.07), rgba(74,93,63,0.02));
  border-left: 3px solid var(--moss);
  padding: var(--s-3) var(--s-4);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.review-admin-reply .reply-label {
  display: block; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--moss); font-weight: 600; margin-bottom: 6px;
}
.review-admin-reply p { color: var(--bark); font-size: 14px; line-height: 1.6; margin: 0; }
.reviews-empty {
  text-align: center; padding: var(--s-7) var(--s-4);
  color: var(--muted); font-size: 15px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-md);
}
.reviews-write-cta {
  text-align: center; margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--ivory-2); border-radius: var(--r-md);
  border: 1px solid var(--rule);
}
.reviews-write-cta p { font-size: 14px; color: var(--muted); margin-bottom: var(--s-3); }

/* ==========================================================================
   STAR RATING INPUT (formulaire avis)
   ========================================================================== */
.star-input { display: flex; gap: 6px; }
.star-input button {
  width: 36px; height: 36px;
  background: none; border: 0;
  cursor: pointer; padding: 0;
  color: var(--rule-strong);
  transition: color .1s, transform .1s;
}
.star-input button:hover,
.star-input button.on { color: var(--ember); transform: scale(1.15); }
.star-input button svg { width: 28px; height: 28px; }
.star-input button.on svg { fill: var(--ember); stroke: var(--ember); }

/* ==========================================================================
   MOBILE FIXES (≤ 540px) — header compact, hero padding, PDP buy bar
   ========================================================================== */
@media (max-width: 540px) {
  /* Header compact : grid symétrique, brand-mark seul centré, head-tools visibles */
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    height: 60px;
  }
  .brand-text { display: none; }
  .brand      { gap: 0; }
  .brand-mark {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px;
  }
  .head-tools { gap: 2px; }
  .head-tool  {
    width: 38px !important;
    height: 38px !important;
  }

  /* Hero : padding réduit (96/64 → 24/32) */
  .hero-modern { padding: var(--s-5) 0 var(--s-6); }

  /* PDP buy bar : bouton "Ajouter au panier" plein largeur sur sa propre ligne */
  .pdp-buy    { flex-wrap: wrap; }
  .btn-buy    {
    flex: 1 1 100%;
    order: -1;
    padding: 14px 20px !important;
    font-size: 14px !important;
  }
  .qty        { flex: 1; }
  .btn-fav-lg {
    width: 50px; height: 50px;
    flex: 0 0 50px;
  }

  /* Boutons larges (Valider, Confirmer la commande) : padding réduit */
  .btn-lg { padding: 12px 18px !important; font-size: 14px !important; }

  /* Inputs ck-form-modern : padding réduit pour gain visuel sans casser le touch */
  .ck-form-modern input,
  .ck-form-modern select,
  .ck-form-modern textarea {
    padding: 12px 14px;
  }

  /* Boutons checkout (Retour + Continuer/Confirmer) empilés verticalement */
  .ck-step > div[style*="display:flex"] {
    flex-direction: column !important;
  }

  /* Compte — bandeau bienvenue compact */
  .compte-welcome {
    padding: var(--s-4) !important;
    gap: var(--s-3) !important;
  }
  .compte-welcome h1 {
    font-size: 22px !important;
    line-height: 1.2;
  }
  .compte-welcome p { font-size: 13px; }

  /* Compte — historique commandes : table → cards stackées */
  .compte-orders thead { display: none; }
  .compte-orders,
  .compte-orders tbody,
  .compte-orders tr,
  .compte-orders td {
    display: block;
    width: 100%;
  }
  .compte-orders tr {
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    padding: var(--s-4);
    margin-bottom: var(--s-3);
    background: var(--ivory);
  }
  .compte-orders td {
    padding: 4px 0 !important;
    border: 0 !important;
  }
  .compte-orders td:last-child {
    padding-top: var(--s-3) !important;
    margin-top: 6px;
    border-top: 1px solid var(--rule) !important;
  }

  /* Footer : email long s'enroule proprement (anti-overflow horizontal) */
  .foot-col a,
  .foot-col li {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Drawer filtre boutique : compactage des rows + groupes */
  .filter-row { padding: 6px 0; font-size: 14px; }
  .filter-group { padding-bottom: var(--s-4); }

  /* CTA Newsletter : padding réduit + form vertical (input + bouton empilés) */
  .cta-band { padding: var(--s-6) 0; }
  .cta-band .h-section { font-size: 26px !important; line-height: 1.2; }
  .cta-form {
    flex-direction: column;
    padding: 6px;
    gap: 8px;
    border-radius: var(--r-md);
  }
  .cta-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: var(--r-sm);
    background: rgba(245,240,232,0.08);
  }
  .cta-form button {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--r-sm);
  }
}


