/* ==================================================================
   BILTONG YA KWETU — FEUILLE DE STYLE
   Direction artistique : noir profond, ivoire, brun viande séchée,
   touches dorées discrètes. Titres Archivo, textes Inter.
   Mobile d'abord.
   ================================================================== */

:root {
  --ink: #0e0a07;
  --ink-2: #17110c;
  --ink-3: #231a13;
  --brown: #3a2317;
  --brown-2: #563320;
  --cream: #f6f0e6;
  --cream-2: #ece2d1;
  --paper: #fcf9f4;
  --gold: #c9a25b;
  --gold-2: #e0c07f;
  --gold-ink: #85622a;
  --ember: #b23e1e;

  --text: #1c140f;
  --muted: #65574b;
  --line: rgba(28, 20, 15, 0.12);
  --on-dark: #f4ecdf;
  --on-dark-muted: rgba(244, 236, 223, 0.7);
  --line-dark: rgba(244, 236, 223, 0.14);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 12, 6, 0.06), 0 18px 40px -18px rgba(20, 12, 6, 0.35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 116px);
  --torn-h: clamp(14px, 2.4vw, 34px);
  --header-h: 68px;

  /* Bord « papier déchiré » (zone pleine en bas) */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V22l38 5 26-11 38 9 29-13 39 11 26-5 36 11 38-15 32 9 39-13 36 11 33-5 36 10 34-14 39 11 33-5 38 11 32-15 38 7 34-12 36 13 38-5 33 11 37-13 34 9 38-11 34 13 36-7 35 11 35-15 36 7 34-11 38 13 32-7 36 11 36-15 36 11 36-5 36 9 34-13 36 9V48z'/%3E%3C/svg%3E");
  /* Bande « coup de pinceau » (section des formules) */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cpath d='M0 34l62-14 58 18 74-22 66 16 80-10 70 14 88-20 64 12 92-8 70 18 76-16 88 10 66-14 84 16 72-12 88 14 74-18 76 12 92-8V268l-70 14-84-12-66 18-90-10-72 14-80-16-68 12-92-8-64 16-86-14-74 12-88-10-66 16-84-12-70 14-90-8-62 12-80-16-74 12-60-6z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.01em; }
small { font-size: 0.85em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-2); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * 0.7) 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-brown { background: var(--brown); color: var(--on-dark); }
.section-paper { background: var(--paper); }
.section-dark p, .section-brown p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-dark .eyebrow, .section-brown .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.gold { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section-dark .lead, .section-brown .lead, .hero .lead, .page-hero .lead { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Bords déchirés ---------- */
.torn-bottom, .torn-top { position: relative; }
.torn-bottom::after, .torn-top::before {
  content: ""; position: absolute; left: 0; right: 0; height: var(--torn-h);
  -webkit-mask: var(--torn) center / 100% 100% no-repeat;
  mask: var(--torn) center / 100% 100% no-repeat;
  pointer-events: none; z-index: 2;
}
.torn-bottom::after { bottom: -1px; background: var(--torn-next, var(--cream)); }
.torn-top::before { top: calc(var(--torn-h) * -1 + 1px); background: var(--torn-self, var(--ink)); }
.torn-next-paper { --torn-next: var(--paper); }
.torn-next-ink { --torn-next: var(--ink); }
.torn-next-brown { --torn-next: var(--brown); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--brown); }
.btn-outline-light { border-color: rgba(244, 236, 223, 0.35); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-outline { border-color: rgba(28, 20, 15, 0.28); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.section-dark .link-arrow, .section-brown .link-arrow { color: var(--gold); }
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 10, 7, 0.97);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 1.12rem; margin: 0; color: var(--on-dark);
}
.brand-name span { color: var(--gold); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 6px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--on-dark-muted); font-weight: 500; transition: color 0.2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--on-dark); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

.nav-toggle {
  width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 10px;
  background: transparent; color: var(--on-dark); cursor: pointer; display: grid; place-items: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--ink); padding: 12px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav li { border-bottom: 1px solid var(--line-dark); }
  .main-nav a { display: block; padding: 16px 0; font-size: 1.15rem; font-family: var(--font-display); font-weight: 700; color: var(--on-dark); }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--gold); }
}
.brand-name, .brand-sub { white-space: nowrap; }
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .site-header .brand-name { font-size: 0.9rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.14em; }
  .header-cta { padding: 0 12px; font-size: 0.85rem; min-height: 40px; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 350px) {
  .header-cta { display: none; }
}
@media (min-width: 1080px) {
  :root { --header-h: 78px; }
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; gap: 26px; }
  .main-nav a { font-size: 0.92rem; padding: 6px 0; }
}

/* ---------- Hero (accueil) ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 78% 42%, rgba(201, 162, 91, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(178, 62, 30, 0.18), transparent 70%),
    var(--ink);
  color: var(--on-dark);
  padding: clamp(40px, 7vw, 88px) 0 calc(clamp(56px, 8vw, 104px) + var(--torn-h));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .gold { display: block; }
.hero .lead { margin-bottom: 28px; }
.hero-points {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.hero-points li {
  display: flex; flex-direction: column; gap: 10px; padding: 0 14px;
  font-size: 0.85rem; line-height: 1.35; color: var(--on-dark);
  border-left: 1px solid var(--line-dark);
}
.hero-points li:first-child { border-left: 0; padding-left: 0; }
.icon-ring {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; color: var(--gold);
}
.icon-ring svg { width: 20px; height: 20px; }
.hero-price { margin: 18px 0 0; font-size: 0.92rem; color: var(--on-dark-muted); }
.hero-price strong { color: var(--gold-2); font-weight: 600; }
.hero-visual { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.hero-visual img {
  width: 100%; aspect-ratio: 464 / 606; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(201, 162, 91, 0.45); border-radius: calc(var(--radius-lg) + 6px); z-index: 0;
}
.hero-visual img { position: relative; z-index: 1; }
.seal {
  position: absolute; z-index: 2; right: -6px; top: 24px;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold);
  display: grid; place-content: center; text-align: center; color: var(--gold);
  box-shadow: 0 0 0 6px rgba(14, 10, 7, 0.6);
}
.seal strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--on-dark); }
.seal span { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
  .seal { right: -34px; top: 40px; width: 120px; height: 120px; }
}
@media (max-width: 520px) {
  .hero-points li { padding: 0 8px; font-size: 0.78rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 85% 30%, rgba(201, 162, 91, 0.16), transparent 70%),
    var(--ink);
  color: var(--on-dark);
  padding: clamp(36px, 6vw, 72px) 0 calc(clamp(44px, 6vw, 76px) + var(--torn-h));
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { font-size: 0.82rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }

/* ---------- Mise en page générale ---------- */
.split, .order-layout, .grid-2, .grid-3, .form-grid { grid-template-columns: minmax(0, 1fr); }
.split > *, .order-layout > *, .grid-2 > *, .grid-3 > *, .hero-grid > * { min-width: 0; }
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; padding: 0 12% 14% 0; }
.photo-stack .photo-main { aspect-ratio: 338 / 392; }
.photo-stack .photo-inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--cream);
}
.photo-caption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.spec-list { margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }
.section-dark .spec-list, .section-dark .spec-list div { border-color: var(--line-dark); }
.section-dark .spec-list dt { color: var(--on-dark-muted); }

/* ---------- Formules / prix ---------- */
.offers-section { overflow: hidden; }
.offers::before {
  content: ""; position: absolute; left: -60px; right: -60px;
  top: 24%; bottom: -10%; display: none;
  background: linear-gradient(100deg, var(--brown), var(--brown-2) 55%, var(--brown));
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat;
  z-index: -1;
}
.offers { position: relative; isolation: isolate; display: grid; gap: 18px; }
@media (min-width: 860px) {
  .offers { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .offers::before { display: block; }
  .offer-featured { transform: translateY(-14px); }
}
.offer-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.offer-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
.offer-qty { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 4px; }
.offer-weight { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.offer-price { margin-bottom: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.offer-price strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; }
.offer-price span { color: var(--muted); font-size: 0.92rem; }
.offer-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 0 0 6px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.offer-total dt { color: var(--muted); font-size: 0.92rem; }
.offer-total dd { margin: 0; font-weight: 700; font-size: 1.12rem; }
.offer-saving { font-size: 0.85rem; color: var(--gold-ink); margin: 10px 0 22px; flex: 1; }
.offer-featured { background: var(--ink); color: var(--on-dark); border-color: rgba(201, 162, 91, 0.5); }
.offer-featured .offer-tag, .offer-featured .offer-saving { color: var(--gold); }
.offer-featured .offer-weight, .offer-featured .offer-price span, .offer-featured .offer-total dt { color: var(--on-dark-muted); }
.offer-featured .offer-total { border-color: var(--line-dark); }
.offers-note { position: relative; z-index: 1; max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.offers-note a { color: var(--gold-ink); font-weight: 600; }

/* ---------- Atouts (cartes à visuel rond) ---------- */
.why-grid { display: grid; gap: 52px 20px; grid-template-columns: 1fr; margin-top: 64px; }
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 72px 22px 26px; text-align: center; position: relative;
}
.why-card img {
  position: absolute; top: -48px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--paper); box-shadow: 0 10px 24px -10px rgba(20, 12, 6, 0.5);
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } .steps.steps-5 { grid-template-columns: repeat(5, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  padding: 24px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 14px;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { font-size: 0.93rem; margin: 0; }
.steps-light li { border-color: var(--line); background: var(--paper); }
.steps-light p { color: var(--muted); }
.steps-light li::before { -webkit-text-stroke-color: var(--gold-ink); }

/* ---------- Statistiques (revendeurs) ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 28px 0; }
.stat { padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--on-dark-muted); }
.stats-light .stat { border-color: var(--line); background: var(--paper); }
.stats-light .stat strong { color: var(--text); }
.stats-light .stat span { color: var(--muted); }
.fine { font-size: 0.82rem; color: var(--muted); }
.section-dark .fine, .section-brown .fine { color: var(--on-dark-muted); }

/* ---------- Cartes et listes ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow);
}
.card-dark { background: var(--ink-2); color: var(--on-dark); border-color: var(--line-dark); }
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.9rem; font-weight: 500; }
.section-dark .chips li, .section-brown .chips li { border-color: var(--line-dark); background: transparent; color: var(--on-dark); }

.pending {
  display: inline-block; padding: 1px 9px; border: 1px dashed var(--gold); border-radius: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--gold-ink); background: rgba(201, 162, 91, 0.1);
  white-space: nowrap;
}
.section-dark .pending, .card-dark .pending { color: var(--gold-2); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--cream); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.total td, tr.total th { font-weight: 700; }

/* ---------- Commande / calculateur ---------- */
.order-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) {
  .order-layout { grid-template-columns: 1.25fr 0.95fr; gap: 32px; }
  .order-summary { position: sticky; top: calc(var(--header-h) + 20px); }
}
.form-step { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.form-step .num {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold-ink); color: var(--gold-ink);
  display: inline-grid; place-items: center; font-size: 0.9rem; flex: none;
}
.form-step .opt { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--muted); letter-spacing: 0; }
.form-block + .form-block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
@media (max-width: 480px) { .preset { padding: 12px 10px; font-size: 0.92rem; } .preset small { font-size: 0.72rem; } }
.preset {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream);
  font: inherit; font-weight: 700; color: var(--text); cursor: pointer; transition: border-color 0.2s, background 0.2s;
  min-height: 64px;
}
.preset small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.preset:hover { border-color: var(--gold); }
.preset[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.preset[aria-pressed="true"] small { color: var(--gold-2); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.stepper button {
  width: 52px; border: 0; background: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--text);
}
.stepper button:hover { background: var(--cream-2); }
.stepper input {
  width: 92px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font: 700 1.2rem var(--font-body); color: var(--text); background: var(--paper);
  min-height: 52px; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.qty-row .hint { margin: 0; }

.summary { margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); }
.summary dt { color: var(--on-dark-muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary dd small { display: block; font-weight: 500; color: var(--gold); font-size: 0.75rem; }
.summary .summary-total { border-bottom: 0; padding-top: 18px; align-items: baseline; }
.summary .summary-total dt { color: var(--on-dark); font-weight: 600; }
.summary .summary-total dd { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); color: var(--gold-2); font-weight: 800; }
.summary-notes { font-size: 0.85rem; color: var(--gold-2); background: rgba(201, 162, 91, 0.1); border-radius: 8px; padding: 10px 12px; margin: 6px 0 18px; }
.order-summary .btn { margin-top: 8px; }
.order-summary .fine { margin: 14px 0 0; }
.wa-missing { font-size: 0.8rem; color: var(--on-dark-muted); border-left: 2px solid var(--gold); padding-left: 10px; margin-top: 14px; }

.mini-calc { margin-top: 26px; padding: 22px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.mini-calc .presets { margin-bottom: 16px; }
.mini-calc .preset { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.mini-calc .preset small { color: var(--on-dark-muted); }
.mini-calc .preset[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.mini-calc .preset[aria-pressed="true"] small { color: var(--brown); }
.mini-calc .stepper { border-color: var(--line-dark); }
.mini-calc .field-label { color: var(--on-dark-muted); }
.mini-calc-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 18px 0; font-size: 0.92rem; color: var(--on-dark-muted); }
@media (min-width: 560px) { .mini-calc-totals { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.mini-calc-totals strong { color: var(--on-dark); font-size: 1.05rem; }
.mini-calc-totals .big { color: var(--gold-2); font-family: var(--font-display); font-size: 1.5rem; }
.mini-calc .summary-notes { margin-top: 0; }

/* Barre de commande collante (mobile, page Commander) */
.sticky-order {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 10, 7, 0.97); color: var(--on-dark); border-top: 1px solid var(--line-dark);
}
.sticky-order div { flex: 1; line-height: 1.25; }
.sticky-order small { display: block; color: var(--on-dark-muted); font-size: 0.75rem; }
.sticky-order strong { font-family: var(--font-display); color: var(--gold-2); font-size: 1.15rem; }
.sticky-order .btn { min-height: 46px; padding: 0 18px; }
@media (min-width: 960px) { .sticky-order { display: none; } }
@media (max-width: 959px) { .page-commander .site-footer { padding-bottom: 90px; } }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 8px; }
.field .field-label { margin-bottom: 0; }
.field-label .opt { font-weight: 500; color: var(--muted); }
.req { color: var(--ember); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid rgba(28, 20, 15, 0.22); border-radius: 10px;
  background: #fff; color: var(--text); font: 1rem var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(201, 162, 91, 0.3); }
[aria-invalid="true"] { border-color: var(--ember) !important; }
.field-error { color: var(--ember); font-size: 0.85rem; font-weight: 500; margin: 6px 0 0; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-cards label {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 10px; border: 1px solid rgba(28, 20, 15, 0.22); border-radius: 10px;
  background: #fff; cursor: pointer; font-weight: 600; font-size: 0.95rem;
}
.radio-cards input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-cards label:has(input:checked) { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.radio-cards label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-result {
  margin-top: 24px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark); outline: none;
}
.form-result h3 { color: var(--gold-2); }
.form-result p { color: var(--on-dark-muted); }
.form-result pre {
  white-space: pre-wrap; word-break: break-word; font: 0.85rem/1.55 var(--font-body);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 14px; margin: 0 0 18px; max-height: 260px; overflow: auto; color: var(--on-dark);
}

/* ---------- Galerie produit ---------- */
.gallery-main { aspect-ratio: 640 / 606; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-3); box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-tag { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.price-tag strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.price-tag span { color: var(--muted); }
.product-actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .product-actions { grid-template-columns: 1fr 1fr; } }
.mini-calc .product-actions .btn-outline-light { min-height: 50px; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold-ink); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Texte long (pages légales) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.notice {
  border: 1px dashed var(--gold); background: rgba(201, 162, 91, 0.1); border-radius: var(--radius);
  padding: 16px 18px; font-size: 0.92rem; margin-bottom: 32px;
}

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list li > span:first-child { color: var(--muted); }
.contact-list li > span:last-child { font-weight: 600; text-align: right; }
.card-dark .contact-list li { border-color: var(--line-dark); }
.card-dark .contact-list li > span:first-child { color: var(--on-dark-muted); }

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(201, 162, 91, 0.22), transparent 70%),
    var(--ink);
  color: var(--on-dark);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* ---------- Pied de page ---------- */
.site-footer {
  --torn-self: var(--ink);
  background: var(--ink); color: var(--on-dark-muted);
  padding: clamp(56px, 8vw, 88px) 0 28px;
  font-size: 0.93rem;
}
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; max-width: 380px; }
.footer-brand .brand-name { font-size: 1.4rem; margin-bottom: 12px; }
.footer-title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: var(--on-dark); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px 0 15px; border-radius: 999px;
  background: var(--ink); color: var(--gold-2); border: 1px solid rgba(201, 162, 91, 0.55);
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transition: background 0.2s, transform 0.2s;
}
.wa-float:hover { background: var(--brown); transform: translateY(-2px); }
.wa-float .icon { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.page-commander .wa-float { display: none; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 520px) {
  th, td { padding: 12px 10px; }
  table { font-size: 0.88rem; }
}

/* Conseil « formule plus avantageuse » (calculateur) */
.upsell {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 0 0 18px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--gold); background: rgba(201, 162, 91, 0.14);
  font-size: 0.88rem; color: var(--on-dark);
}
.upsell span { flex: 1 1 200px; }
.upsell-btn {
  min-height: 40px; padding: 0 14px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink); font: 600 0.85rem var(--font-body);
}
.upsell-btn:hover { background: var(--gold-2); }

[data-config="product.nutrition"] { white-space: pre-line; }

/* ==================================================================
   ANIMATIONS — discrètes, désactivées si l'appareil demande
   moins de mouvement (prefers-reduced-motion).
   ================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { opacity: 0; transform: translate(10px, -10px); } to { opacity: 1; transform: none; } }
@keyframes seal-in { from { opacity: 0; transform: rotate(-25deg) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); color: var(--gold-2); } 100% { transform: scale(1); } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 91, 0.5), 0 12px 30px -10px rgba(0, 0, 0, 0.6); } 100% { box-shadow: 0 0 0 16px rgba(201, 162, 91, 0), 0 12px 30px -10px rgba(0, 0, 0, 0.6); } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }

@media (prefers-reduced-motion: no-preference) {
  /* Ouverture de la page d'accueil */
  .hero .eyebrow, .hero h1, .hero .lead, .hero-points, .hero .btn-row, .hero-price,
  .page-hero .container > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1, .page-hero .container > :nth-child(2) { animation-delay: 0.08s; }
  .hero .lead, .page-hero .container > :nth-child(3) { animation-delay: 0.18s; }
  .hero-points, .page-hero .container > :nth-child(4) { animation-delay: 0.28s; }
  .hero .btn-row, .page-hero .container > :nth-child(5) { animation-delay: 0.38s; }
  .hero-price { animation-delay: 0.48s; }
  .hero-visual img { animation: settle 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-visual::before { animation: frame-in 1.2s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .seal { animation: seal-in 0.9s 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both, float 6s 1.8s ease-in-out infinite; }

  /* Apparition au défilement (classes posées par app.js) */
  .anim .reveal {
    opacity: 0; translate: 0 26px;
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s, border-color 0.2s;
  }
  .anim .reveal.is-visible { opacity: 1; translate: none; }

  /* Survol des cartes et des photos */
  .offer-card, .why-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .offer-card:hover, .why-card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(20, 12, 6, 0.06), 0 28px 50px -20px rgba(20, 12, 6, 0.45); }
  .offer-featured:hover { transform: translateY(-6px); }
  @media (min-width: 860px) { .offer-featured:hover { transform: translateY(-20px); } }
  .why-card img { transition: transform 0.5s ease; }
  .why-card:hover img { transform: translateX(-50%) scale(1.08) rotate(-3deg); }
  .photo img, .gallery-main img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .photo:hover img, .gallery-main:hover img { transform: scale(1.04); }
  .hero-visual:hover img { transform: scale(1.02); transition: transform 0.9s ease; }

  /* Reflet doré sur les boutons principaux */
  .btn-gold { position: relative; overflow: hidden; }
  .btn-gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg); pointer-events: none; opacity: 0;
  }
  .btn-gold:hover::after { opacity: 1; animation: shine 0.8s ease; }

  /* Montant total mis à jour */
  .flash { display: inline-block; animation: pop 0.45s ease; }

  /* Bouton WhatsApp : quelques pulsations à l'arrivée */
  .wa-float { animation: wa-pulse 2.2s 2s ease-out 3; }
  .steps li { transition: border-color 0.3s, background-color 0.3s; }
  .steps li:hover { border-color: rgba(201, 162, 91, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
