/* ==========================================================================
   DOMYA — design system
   Votre maison s'en occupe.
   ========================================================================== */

:root {
  /* Couleurs */
  --ink:        #16211C;
  --ink-2:      #3D4F46;
  --ink-3:      #6E7F76;
  --paper:      #FBF9F6;
  --paper-2:    #F3EFE9;
  --paper-3:    #E9E3DA;
  --sage:       #5C7A67;
  --sage-dark:  #3B5546;
  --sage-light: #DDE6DD;
  --gold:       #A8865C;
  --line:       #E4DED4;
  --white:      #FFFFFF;
  --success:    #3E7D53;
  --warn:       #B4693A;

  /* Typo */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espacements */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 8rem);
  --max: 1240px;

  /* Divers */
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 26px;
  --shadow-s: 0 1px 2px rgba(22,33,28,.05), 0 4px 14px rgba(22,33,28,.05);
  --shadow-m: 0 2px 6px rgba(22,33,28,.06), 0 18px 44px rgba(22,33,28,.09);
  --shadow-l: 0 30px 80px rgba(22,33,28,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip et non hidden : hidden ferait du body un conteneur de défilement,
     ce qui casse les liens d'ancre et le position:sticky */
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; font-variation-settings: "SOFT" 20, "WONK" 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.6; }
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sage);
}
.muted { color: var(--ink-3); }
em.n { font-style: normal; color: var(--sage); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-tight { max-width: 860px; }
section { padding-block: var(--sec); }
.band-paper2 { background: var(--paper-2); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-sage { background: var(--sage-light); }
.center { text-align: center; }
.sec-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { display: block; margin-bottom: 1rem; }
.sec-head p { margin-top: 1.1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.9rem; border-radius: 100px;
  font-size: .96rem; font-weight: 600; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.25rem 2.2rem; font-size: 1.02rem; }

/* ---------- Annonce ---------- */
.announce {
  background: var(--ink); color: var(--paper-2);
  font-size: .81rem; letter-spacing: .02em; text-align: center;
  padding: .62rem var(--gut); position: relative; z-index: 60;
}
.announce b { color: #fff; font-weight: 600; }
.announce .sep { opacity: .35; margin-inline: .8rem; }
@media (max-width: 720px) { .announce .hide-sm { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,246,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 70px; }
.logo { display: flex; align-items: baseline; gap: .5rem; }
.logo-mark {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .04em; line-height: 1;
}
.logo-mark .dot { color: var(--sage); }
.logo-tag { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .logo-tag { display: none; } }
.nav { display: flex; gap: 2rem; font-size: .91rem; font-weight: 500; }
.nav a { color: var(--ink-2); transition: color .2s; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px;
  background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
@media (max-width: 980px) { .nav { display: none; } }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem 1.15rem; border-radius: 100px;
  background: var(--ink); color: var(--paper);
  font-size: .88rem; font-weight: 600;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cart-btn:hover { background: var(--sage-dark); transform: translateY(-1px); }
.cart-count {
  min-width: 20px; height: 20px; padding-inline: 5px;
  display: grid; place-items: center; border-radius: 100px;
  background: var(--sage); color: #fff; font-size: .72rem; font-weight: 700;
}
.cart-count.zero { background: rgba(255,255,255,.2); }

/* ==========================================================================
   HERO / bloc produit
   ========================================================================== */
.product {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: var(--sec);
  align-items: start;
}
@media (max-width: 980px) { .product { grid-template-columns: 1fr; } }

/* Galerie */
.gallery { position: sticky; top: 92px; }
@media (max-width: 980px) { .gallery { position: static; } }
.gallery-main {
  position: relative; background: var(--white); border-radius: var(--r-l);
  border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: contain; padding: 4%;
  opacity: 0; position: absolute; inset: 0;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
  transform: scale(1.015);
}
.gallery-main img.on { opacity: 1; transform: scale(1); position: relative; }
.gallery-badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  background: var(--ink); color: var(--paper);
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 100px;
}
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-top: .8rem; }
.thumb {
  aspect-ratio: 1; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 12px; overflow: hidden; padding: 6%;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.thumb.on { border-color: var(--ink); }

/* Bloc achat */
.buy { padding-top: .5rem; }
.buy-brand {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3);
}
.buy-brand .pill {
  background: var(--sage-light); color: var(--sage-dark);
  padding: .28rem .7rem; border-radius: 100px; font-weight: 600; letter-spacing: .08em;
}
.buy h1 { margin-bottom: .9rem; }
.rating { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.buy-pitch { font-size: 1.04rem; color: var(--ink-2); margin-bottom: 1.8rem; }

.usp { display: grid; gap: .75rem; margin-bottom: 2rem; }
.usp li { display: flex; gap: .75rem; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.usp .ic { flex: 0 0 22px; height: 22px; margin-top: 1px; color: var(--sage); }

.field { margin-bottom: 1.6rem; }
.field-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .8rem;
}
.field-label .val { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: .92rem; }

/* Couleurs */
.swatches { display: flex; gap: .7rem; }
.swatch {
  width: 46px; height: 46px; border-radius: 50%; position: relative;
  border: 2px solid transparent; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .2s var(--ease);
}
.swatch span { position: absolute; inset: 4px; border-radius: 50%; }
.swatch:hover { transform: scale(1.06); }
.swatch.on { border-color: var(--ink); }

/* Packs */
.packs { display: grid; gap: .7rem; }
.pack {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: .9rem;
  align-items: start; padding: 1.1rem 1.2rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m);
  cursor: pointer; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pack:hover { border-color: var(--ink-3); }
.pack.on { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-light); }
.pack-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line);
  margin-top: 2px; display: grid; place-items: center; transition: border-color .2s;
}
.pack.on .pack-radio { border-color: var(--sage); }
.pack-radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage);
  transform: scale(0); transition: transform .22s var(--ease);
}
.pack.on .pack-radio::after { transform: scale(1); }
.pack-name { font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pack-desc { display: block; font-size: .87rem; color: var(--ink-3); margin-top: .3rem; line-height: 1.5; }
.pack-price { text-align: right; white-space: nowrap; }
.pack-price .now { font-weight: 600; font-size: 1.02rem; }
.pack-price .was { display: block; font-size: .8rem; color: var(--ink-3); text-decoration: line-through; }
.tag-save {
  background: var(--sage); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 100px;
}
.tag-best {
  background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 100px;
}

/* Options */
.addons { display: grid; gap: .55rem; }
.addon {
  display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center;
  padding: .8rem .95rem; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-s); cursor: pointer;
  transition: border-color .25s var(--ease);
}
.addon:hover { border-color: var(--ink-3); }
.addon.on { border-color: var(--sage); background: #FCFDFC; }
.addon-img { width: 44px; height: 44px; border-radius: 6px; background: var(--paper-2); object-fit: contain; padding: 3px; }
.addon-name { display: block; font-size: .9rem; font-weight: 500; line-height: 1.35; }
.addon-note { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.4; margin-top: .15rem; }
.addon-price { font-size: .9rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: .6rem; }
.check {
  width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: #fff; flex: 0 0 auto;
  transition: background .2s, border-color .2s;
}
.addon.on .check { background: var(--sage); border-color: var(--sage); }
.check svg { opacity: 0; transition: opacity .2s; }
.addon.on .check svg { opacity: 1; }

/* Total + CTA */
.total-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1.3rem 0 .4rem; border-top: 1px solid var(--line); margin-top: 1.8rem;
}
.total-row .label { font-size: .95rem; color: var(--ink-2); }
.total-row .amount { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; letter-spacing: -.02em; }
.total-sub { font-size: .84rem; color: var(--ink-3); margin-bottom: 1.3rem; }
.total-sub b { color: var(--sage-dark); font-weight: 600; }

.reassure { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.2rem; margin-top: 1.8rem; }
.reassure li { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.reassure .ic { color: var(--sage); flex: 0 0 18px; margin-top: 2px; }
@media (max-width: 480px) { .reassure { grid-template-columns: 1fr; } }

/* ---------- Bandeau confiance ---------- */
.trust { border-block: 1px solid var(--line); padding-block: 1.6rem; background: var(--paper); }
.trust-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.4rem 2rem; align-items: center; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .87rem; color: var(--ink-2); }
.trust-item .ic { color: var(--sage); }
.trust-item b { font-weight: 600; color: var(--ink); }

/* ---------- Problème ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
}
.pain-num {
  font-family: var(--serif); font-size: 3.4rem; line-height: 1;
  color: var(--paper-3); position: absolute; top: 1rem; right: 1.4rem;
}
.pain h3 { font-size: 1.22rem; margin-bottom: .7rem; position: relative; }
.pain p { font-size: .94rem; color: var(--ink-2); position: relative; }
.pain-fix {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
  font-size: .87rem; color: var(--sage-dark); font-weight: 500;
  display: flex; gap: .5rem; align-items: flex-start;
}

/* ---------- Feature split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split.rev .split-media { order: -1; }
@media (max-width: 900px) { .split.rev .split-media { order: 0; } }
.split-media {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; padding: 3%;
}
.band-ink .split-media { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.split-media img { width: 100%; height: 100%; object-fit: contain; }
.split h2 { margin-bottom: 1.2rem; }
.split .eyebrow { display: block; margin-bottom: 1rem; }
.band-ink .eyebrow { color: var(--sage-light); }
.band-ink .lede { color: rgba(251,249,246,.72); }

.spec-inline { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2rem; }
.spec-inline > div { min-width: 110px; }
.spec-inline .n {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1;
  display: block; margin-bottom: .35rem;
}
.spec-inline .l { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.band-ink .spec-inline .l { color: rgba(251,249,246,.55); }
.band-ink .spec-inline .n { color: var(--sage-light); }

.feat-list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.feat-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.band-ink .feat-list li { color: rgba(251,249,246,.75); }
.feat-list .ic { color: var(--sage); flex: 0 0 20px; margin-top: 3px; }
.band-ink .feat-list .ic { color: var(--sage-light); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper); padding: 2rem 1.5rem; text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; display: block; margin-bottom: .5rem; }
.stat .l { font-size: .84rem; color: var(--ink-3); line-height: 1.4; }

/* ---------- Comparatif ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 660px; }
table.compare th, table.compare td { padding: 1.1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
table.compare thead th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; background: var(--paper-2); }
table.compare thead th.hi { background: var(--ink); color: var(--paper); }
table.compare tbody td.hi { background: #FAFCFA; font-weight: 500; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--success); font-weight: 600; }
table.compare .no { color: var(--ink-3); }
table.compare td:first-child { font-weight: 500; }

/* ---------- Packs (section) ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: start; }
@media (max-width: 900px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.bundle.feature { border-color: var(--ink); box-shadow: var(--shadow-m); }
.bundle-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.bundle h3 { font-size: 1.5rem; }
.bundle-tagline { font-size: .92rem; color: var(--ink-2); margin-bottom: 1.6rem; min-height: 2.9em; }
.bundle-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .3rem; }
.bundle-price .now { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.bundle-price .was { font-size: .95rem; color: var(--ink-3); text-decoration: line-through; }
.bundle-save { font-size: .84rem; color: var(--sage-dark); font-weight: 600; margin-bottom: 1.6rem; }
.bundle ul { display: grid; gap: .7rem; margin-bottom: 2rem; flex: 1; }
.bundle li { display: flex; gap: .7rem; font-size: .9rem; color: var(--ink-2); align-items: flex-start; line-height: 1.5; }
.bundle li .ic { color: var(--sage); flex: 0 0 18px; margin-top: 3px; }
.bundle li.off { color: var(--ink-3); }
.bundle li.off .ic { color: var(--paper-3); }

/* ---------- Accessoires ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .acc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .acc-grid { grid-template-columns: 1fr; } }
.acc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.acc:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.acc-media { aspect-ratio: 1; background: var(--white); padding: 8%; display: grid; place-items: center; border-bottom: 1px solid var(--line); position: relative; }
.acc-media img { width: 100%; height: 100%; object-fit: contain; }
.acc-flag {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--sage-light); color: var(--sage-dark);
  font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 100px;
}
.acc-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.acc-body h4 { font-family: var(--sans); font-size: .98rem; font-weight: 600; line-height: 1.35; margin-bottom: .5rem; letter-spacing: 0; }
.acc-body p { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.2rem; flex: 1; }
.acc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc-foot .price { font-weight: 600; font-size: 1.05rem; }
.acc-add {
  padding: .55rem 1.1rem; border-radius: 100px; border: 1.5px solid var(--line);
  font-size: .84rem; font-weight: 600; transition: all .22s var(--ease); white-space: nowrap;
}
.acc-add:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.acc-add.done { background: var(--sage); border-color: var(--sage); color: #fff; }

/* ---------- Avis ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.score-block { display: flex; align-items: center; gap: 1.4rem; }
.score-num { font-family: var(--serif); font-size: 3.6rem; line-height: 1; }
.score-meta .stars { font-size: 1.15rem; }
.score-meta p { font-size: .88rem; color: var(--ink-3); margin-top: .3rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: 1fr; } }
.rev { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.8rem; }
.rev .stars { font-size: .9rem; margin-bottom: .9rem; }
.rev h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: 0; }
.rev p { font-size: .93rem; color: var(--ink-2); margin-bottom: 1.3rem; }
.rev-by { display: flex; align-items: center; gap: .7rem; font-size: .83rem; color: var(--ink-3); }
.rev-av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--sage-light);
  display: grid; place-items: center; font-weight: 700; color: var(--sage-dark); font-size: .8rem;
}
.rev-verif { display: flex; align-items: center; gap: .3rem; color: var(--success); font-weight: 600; }

/* ---------- Service ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .serv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .serv-grid { grid-template-columns: 1fr; } }
.serv { padding: 1.9rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.serv .ic-box {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sage-light);
  display: grid; place-items: center; color: var(--sage-dark); margin-bottom: 1.2rem;
}
.serv h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: 0; }
.serv p { font-size: .89rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left; font-size: 1.06rem; font-weight: 500; line-height: 1.4;
  transition: color .2s;
}
.qa-q:hover { color: var(--sage-dark); }
.qa-ic { flex: 0 0 22px; color: var(--sage); transition: transform .3s var(--ease); }
.qa.open .qa-ic { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa-a p { padding-bottom: 1.6rem; color: var(--ink-2); font-size: .96rem; max-width: 68ch; }
.qa-a p + p { margin-top: -.6rem; padding-bottom: 1.6rem; }

/* ---------- CTA final ---------- */
.final { text-align: center; }
.final h2 { margin-bottom: 1.2rem; }
.final .lede { max-width: 560px; margin: 0 auto 2.5rem; }
.final-img { max-width: 420px; margin: 0 auto 2.5rem; }
.band-ink .final .lede { color: rgba(251,249,246,.7); }
.final-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.band-ink .btn-primary { background: var(--paper); color: var(--ink); }
.band-ink .btn-primary:hover { background: #fff; }
.band-ink .btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: var(--paper); }
.band-ink .btn-ghost:hover { border-color: var(--paper); }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--sans); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { display: grid; gap: .65rem; }
.footer li a { font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.footer li a:hover { color: var(--sage-dark); }
.footer-brand p { font-size: .92rem; color: var(--ink-2); max-width: 34ch; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--ink-3);
}
.pay { display: flex; gap: .5rem; align-items: center; }
.pay span { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 5px; background: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .04em; }

/* ==========================================================================
   Panier
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; background: rgba(22,33,28,.4); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 90;
}
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .42s var(--ease);
  box-shadow: var(--shadow-l);
}
.drawer.on { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.3rem; }
.x-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.x-btn:hover { background: var(--paper-3); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.6rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.4rem 1.6rem; background: var(--white); }

.ci { display: grid; grid-template-columns: 66px 1fr; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: 0; }
.ci-img { width: 66px; height: 66px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); object-fit: contain; padding: 4px; }
.ci-name { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.ci-meta { font-size: .8rem; color: var(--ink-3); margin-top: .25rem; line-height: 1.45; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; gap: 1rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; background: var(--white); }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-2); transition: color .2s; }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 26px; text-align: center; font-size: .86rem; font-weight: 600; }
.ci-price { font-size: .93rem; font-weight: 600; }
.ci-del { font-size: .78rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.ci-del:hover { color: var(--warn); }

.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty .ic { color: var(--paper-3); margin: 0 auto 1.3rem; }
.cart-empty p { color: var(--ink-3); font-size: .95rem; margin-bottom: 1.6rem; }

.upsell { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.upsell h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; font-weight: 600; }
.up { display: grid; grid-template-columns: 48px 1fr auto; gap: .85rem; align-items: center; padding: .7rem 0; }
.up img { width: 48px; height: 48px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); object-fit: contain; padding: 3px; }
.up-name { font-size: .86rem; font-weight: 500; line-height: 1.35; }
.up-price { font-size: .8rem; color: var(--ink-3); }
.up-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: background .2s, transform .2s; }
.up-btn:hover { background: var(--sage); transform: scale(1.08); }

.ship-bar { margin-bottom: 1.2rem; }
.ship-bar p { font-size: .82rem; color: var(--ink-2); margin-bottom: .5rem; }
.ship-track { height: 5px; background: var(--paper-3); border-radius: 100px; overflow: hidden; }
.ship-fill { height: 100%; background: var(--sage); border-radius: 100px; transition: width .5s var(--ease); }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .4rem; }
.drawer-total .l { font-size: .95rem; }
.drawer-total .v { font-family: var(--serif); font-size: 1.7rem; }
.drawer-note { font-size: .78rem; color: var(--ink-3); margin-bottom: 1.1rem; }

/* ---------- Barre mobile ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(251,249,246,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: .8rem var(--gut);
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-buy.on { transform: translateY(0); }
.sticky-buy .info .n { font-size: .88rem; font-weight: 600; line-height: 1.2; }
.sticky-buy .info .p { font-size: .82rem; color: var(--ink-3); }
.sticky-buy .btn { padding: .85rem 1.6rem; font-size: .9rem; }
@media (min-width: 981px) { .sticky-buy { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 24px);
  background: var(--ink); color: var(--paper); padding: .9rem 1.5rem; border-radius: 100px;
  font-size: .88rem; font-weight: 500; z-index: 110; box-shadow: var(--shadow-m);
  display: flex; align-items: center; gap: .6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .4s var(--ease), opacity .3s var(--ease), visibility .3s;
  max-width: calc(100% - 2rem);
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .ic { color: var(--sage-light); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Vidéos
   ========================================================================== */
.split-media.has-video { position: relative; padding: 0; background: var(--ink); }
.split-media.has-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(10,16,13,.72); backdrop-filter: blur(6px); color: #fff;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .42rem .9rem; border-radius: 100px;
}

/* Section « en action » */
.showreel { background: var(--ink); color: var(--paper); }
.showreel .sec-head h2 { color: var(--paper); }
.showreel .sec-head .lede { color: rgba(251,249,246,.7); }
.showreel .eyebrow { color: var(--sage-light); }

.reel-main {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  aspect-ratio: 16/7; background: #000; margin-bottom: 1.2rem;
}
@media (max-width: 700px) { .reel-main { aspect-ratio: 4/3; } }
.reel-main video { width: 100%; height: 100%; object-fit: cover; }
.reel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.8rem 1.5rem;
  background: linear-gradient(to top, rgba(6,10,8,.88), transparent);
  display: flex; flex-direction: column; gap: .25rem;
}
.reel-cap strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.reel-cap span { font-size: .9rem; color: rgba(251,249,246,.75); }

.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .reel-grid { grid-template-columns: repeat(2, 1fr); } }
.reel-item { margin: 0; }
.reel-item video {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-m); background: #000; margin-bottom: .8rem;
}
.reel-item figcaption { font-size: .87rem; color: rgba(251,249,246,.72); line-height: 1.4; }

/* ==========================================================================
   Souvent achetés ensemble
   ========================================================================== */
.fbt {
  margin-top: 1.5rem; padding: 1.3rem 1.4rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m);
}
.fbt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fbt-head h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; letter-spacing: 0; }
.fbt-deal {
  font-size: .74rem; font-weight: 700; color: var(--sage-dark);
  background: var(--sage-light); padding: .25rem .65rem; border-radius: 100px;
}
.fbt-list { display: grid; gap: .5rem; }
.fbt-row {
  display: grid; grid-template-columns: 22px 46px 1fr auto; gap: .8rem; align-items: center;
  padding: .6rem; border-radius: var(--r-s); cursor: pointer;
  transition: background .2s var(--ease);
}
.fbt-row:hover { background: var(--paper-2); }
.fbt-row.on { background: #F7FAF7; }
.fbt-box {
  width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s;
}
.fbt-row.on .fbt-box { background: var(--sage); border-color: var(--sage); }
.fbt-box svg { opacity: 0; transition: opacity .2s; }
.fbt-row.on .fbt-box svg { opacity: 1; }
.fbt-row img { width: 46px; height: 46px; border-radius: 8px; background: var(--paper-2); object-fit: contain; padding: 3px; }
.fbt-name { display: block; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.fbt-pitch { display: block; font-size: .77rem; color: var(--ink-3); line-height: 1.35; margin-top: .15rem; }
.fbt-price { text-align: right; white-space: nowrap; }
.fbt-price .now { font-size: .88rem; font-weight: 700; color: var(--sage-dark); display: block; }
.fbt-price .was { font-size: .74rem; color: var(--ink-3); text-decoration: line-through; }
.fbt-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.fbt-sum { font-size: .85rem; color: var(--ink-2); }
.fbt-sum b { color: var(--ink); font-weight: 700; }
.btn-sm { padding: .7rem 1.3rem; font-size: .86rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   Upsells panier, version vendeuse
   ========================================================================== */
.upsell h4 { margin-bottom: .3rem; }
.upsell-note { font-size: .78rem; color: var(--ink-3); margin-bottom: 1rem; }
.up2 {
  display: grid; grid-template-columns: 62px 1fr; gap: .9rem; align-items: center;
  padding: .85rem; border: 1.5px solid var(--line); border-radius: var(--r-s);
  margin-bottom: .6rem; transition: border-color .2s var(--ease);
}
.up2:hover { border-color: var(--sage); }
.up2 img { width: 62px; height: 62px; border-radius: 8px; background: var(--paper-2); object-fit: contain; padding: 4px; }
.up2-name { font-size: .89rem; font-weight: 700; line-height: 1.25; }
.up2-pitch { font-size: .78rem; color: var(--ink-3); line-height: 1.35; margin: .2rem 0 .5rem; }
.up2-row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.up2-price { font-size: .86rem; font-weight: 700; }
.up2-price .was { font-size: .75rem; font-weight: 400; color: var(--ink-3); text-decoration: line-through; margin-left: .35rem; }
.up2-btn {
  padding: .45rem 1rem; border-radius: 100px; background: var(--ink); color: var(--paper);
  font-size: .78rem; font-weight: 700; transition: background .2s, transform .2s;
}
.up2-btn:hover { background: var(--sage); transform: translateY(-1px); }

/* ---------- Note interne ---------- */
.devnote {
  background: #FFF8EC; border: 1px dashed var(--gold); border-radius: var(--r-s);
  padding: 1rem 1.2rem; font-size: .84rem; color: #6B4E28; margin-top: 1.5rem;
}
.devnote b { font-weight: 700; }

/* Prix barré à côté du total du configurateur */
.total-was {
  display: inline-block; margin-left: .6rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--ink-3); text-decoration: line-through; vertical-align: middle;
}

/* ==========================================================================
   Accessoires : grille sur desktop, carrousel sur mobile
   ========================================================================== */
.acc-nav { display: none; gap: .5rem; justify-content: flex-end; margin-bottom: 1.1rem; }
.acc-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s, border-color .2s, opacity .2s;
}
.acc-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.acc-arrow:disabled { opacity: .3; cursor: not-allowed; }

@media (max-width: 780px) {
  .acc-nav { display: flex; }
  .acc-grid {
    display: flex; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    /* déborde des marges pour que la carte suivante se devine */
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    padding-bottom: .4rem;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .acc-grid::-webkit-scrollbar { display: none; }
  .acc { flex: 0 0 78%; scroll-snap-align: center; }
  .acc-body p { min-height: 3.6em; }
}


/* La barre d'achat mobile ne doit pas masquer la fin du footer */
@media (max-width: 980px) {
  .footer { padding-bottom: 6.5rem; }
}

/* ==========================================================================
   Moyens de paiement (logos, bas de page)
   ========================================================================== */
.pay { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.pay-card {
  width: 46px; height: 30px; padding: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 5px;
  display: grid; place-items: center; overflow: hidden;
  transition: border-color .2s var(--ease);
}
.pay-card:hover { border-color: var(--ink-3); }
.pay-card svg { width: 100%; height: 100%; padding: 3px 4px; }
@media (max-width: 520px) {
  .pay-card { width: 42px; height: 27px; }
}

/* Prix barré sur les accessoires */
.acc-foot .price { display: flex; flex-direction: column; line-height: 1.15; }
.acc-foot .price .was {
  font-size: .78rem; font-weight: 400; color: var(--ink-3);
  text-decoration: line-through; margin-top: .1rem;
}
.addon-price .was {
  font-size: .78rem; font-weight: 400; color: var(--ink-3);
  text-decoration: line-through; margin-left: .4rem;
}
