/* Rim Shopping — identité « Sahara & Atlantique »
   Mise en page : en-tête collant, hero vert profond qui se termine sur une ligne de dunes,
   bande de confiance, catégories en carrousel sur mobile, grilles de cartes produits.
   Polices auto-hébergées (aucune requête externe, compatible CSP). */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Readex"; src: url("../fonts/readex-arabic.woff2") format("woff2"); font-weight: 160 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  /* Couleurs */
  --bg: #f6f2ea;          /* sable clair */
  --surface: #ffffff;
  --surface-2: #efe8dc;   /* sable */
  --ink: #15211d;
  --ink-2: #3f4b46;
  --muted: #59645f;
  --line: #e2d9ca;
  --brand: #00603b;       /* vert du drapeau, assombri pour le contraste */
  --brand-deep: #003d27;
  --brand-ink: #ffffff;
  --brand-soft: #dcefe4;
  --accent: #f2b01e;      /* or */
  --accent-ink: #2d2100;
  --deal: #c3122d;        /* rouge des bandes du drapeau */
  --deal-ink: #ffffff;
  --demo: #6e5300;
  --demo-bg: #fff1c7;
  --hero-ink: #f5efe2;
  --footer-bg: #0b1f17;
  --footer-ink: #c9d8cf;
  --pattern: url("../img/pattern-light.svg");
  --gold-ink: #9a6700;   /* or lisible sur fond clair (logo) */
  /* Typographie */
  --font-display: "Bricolage", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", "Readex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Formes */
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(21, 33, 29, .06), 0 10px 30px -12px rgba(21, 33, 29, .18);
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1512; --surface: #151f1b; --surface-2: #1d2924; --ink: #eef3ef; --ink-2: #c4cfc9; --muted: #9aa8a1;
    --line: #2a3832; --brand: #3ccf8e; --brand-deep: #06261a; --brand-ink: #04170f; --brand-soft: #173a2b;
    --accent: #f6c04a; --deal: #ff6b7d; --deal-ink: #2a0007; --demo: #f3d36b; --demo-bg: #3a3112;
    --hero-ink: #f5efe2; --footer-bg: #08100d; --footer-ink: #a9bab1; --pattern: url("../img/pattern-dark.svg"); --gold-ink: #f6c04a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1512; --surface: #151f1b; --surface-2: #1d2924; --ink: #eef3ef; --ink-2: #c4cfc9; --muted: #9aa8a1;
  --line: #2a3832; --brand: #3ccf8e; --brand-deep: #06261a; --brand-ink: #04170f; --brand-soft: #173a2b;
  --accent: #f6c04a; --deal: #ff6b7d; --deal-ink: #2a0007; --demo: #f3d36b; --demo-bg: #3a3112;
  --hero-ink: #f5efe2; --footer-bg: #08100d; --footer-ink: #a9bab1; --pattern: url("../img/pattern-dark.svg"); --gold-ink: #f6c04a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) var(--pattern) repeat; background-size: 180px 180px; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; font-weight: 750; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Readex", var(--font-display); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .86rem; color: var(--muted); }

/* ---------- Bandeau supérieur : bandes rouges du drapeau ---------- */
.topbar { background: var(--brand-deep); color: var(--hero-ink); font-size: .8rem; border-top: 4px solid var(--deal); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
.topbar a { color: inherit; opacity: .85; }
.notice { background: var(--demo-bg); color: var(--demo); font-size: .86rem; font-weight: 600; }
.notice .wrap { padding-block: 7px; }

/* ---------- En-tête ---------- */
.header { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; white-space: nowrap; }
.logo img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 2px 8px -2px rgba(0, 61, 39, .45); }
.logo span { color: var(--brand); }
.logo b { color: var(--gold-ink); font-weight: 800; }
.footer-logo { width: 260px; height: auto; border-radius: 16px; margin-bottom: 14px; }
.search { display: flex; min-width: 0; max-width: 620px; width: 100%; justify-self: center; background: var(--surface-2); border: 1.5px solid transparent; border-radius: 999px; padding: 4px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--brand); background: var(--surface); }
.search input { flex: 1; min-width: 0; font: inherit; padding: 8px 14px; border: 0; background: transparent; color: var(--ink); outline: none; }
.search button { font: inherit; font-weight: 700; padding: 8px 18px; border: 0; background: var(--brand); color: var(--brand-ink); border-radius: 999px; cursor: pointer; }
.search button:hover { background: var(--brand-deep); color: var(--hero-ink); }
.menu-btn { display: none; background: var(--surface-2); border: 0; border-radius: 12px; padding: 9px 10px; color: var(--ink); cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 10px 12px 11px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brand); }

@media (max-width: 760px) {
  .header .wrap { grid-template-columns: 1fr auto; gap: 10px; }
  .search { grid-column: 1 / -1; order: 3; max-width: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; border-top: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; overflow: visible; padding-block: 6px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; min-height: 46px; text-align: center; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(242, 176, 30, .7); }
.btn-ghost { background: transparent; color: var(--hero-ink); border: 1.5px solid rgba(245, 239, 226, .45); }
.btn-ghost:hover { background: rgba(245, 239, 226, .1); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); color: var(--hero-ink); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; border: 1.5px dashed var(--line); transform: none; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--hero-ink);
  background:
    radial-gradient(520px 520px at 88% 8%, rgba(242, 176, 30, .28), transparent 62%),
    radial-gradient(700px 380px at 0% 100%, rgba(60, 207, 142, .16), transparent 70%),
    linear-gradient(160deg, #00603b 0%, #003d27 70%); }
.hero .wrap { position: relative; display: grid; gap: 28px; padding-block: 48px 92px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; padding-block: 48px 100px; } }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.hero-art img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 899px) { .hero .wrap { padding-block: 36px 70px; gap: 8px; } .hero-art { max-width: 380px; margin-top: 4px; } }
[dir="rtl"] .hero-art img { transform: scaleX(-1); animation: none; }

/* Étapes « comment ça marche » */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: hw; }
@media (min-width: 720px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { counter-increment: hw; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 66px; display: grid; gap: 4px; min-width: 0; }
[dir="rtl"] .how li { padding: 18px 66px 18px 18px; }
.how li::before { content: counter(hw); position: absolute; inset-inline-start: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.how strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.how span { color: var(--muted); font-size: .92rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(2rem, 6.2vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: 52ch; color: rgba(245, 239, 226, .86); font-size: 1.08rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-steps { list-style: none; margin: 0; padding: 18px; display: grid; gap: 4px; background: rgba(4, 30, 20, .42); border: 1px solid rgba(245, 239, 226, .16); border-radius: 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); counter-reset: hs; }
.hero-steps li { counter-increment: hs; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 10px 6px; }
.hero-steps li + li { border-top: 1px dashed rgba(245, 239, 226, .18); }
.hero-steps li::before { content: counter(hs); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; }
.hero-steps strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.hero-steps span { color: rgba(245, 239, 226, .78); font-size: .9rem; }
.dunes { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.dunes .d1 { fill: var(--surface-2); opacity: .55; }
.dunes .d2 { fill: var(--bg); }

/* ---------- Bande de confiance ---------- */
.trust { margin-top: -38px; position: relative; z-index: 2; }
.trust ul { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 720px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
.trust li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; font-size: .92rem; color: var(--ink-2); min-width: 0; }
.trust li b { display: block; color: var(--ink); font-size: .98rem; }
.trust svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding-block: 36px 6px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.more:hover { background: var(--brand); color: var(--brand-ink); }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
@media (min-width: 720px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
@media (min-width: 1040px) { .cats { grid-template-columns: repeat(6, 1fr); } }
.cat { --c: var(--brand); scroll-snap-align: start; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 16px; min-height: 150px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; transition: transform .18s, box-shadow .18s, border-color .18s; }
.cat::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; inset-inline-end: -40px; bottom: -50px; background: var(--c); opacity: .09; transition: transform .3s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cat:hover::after { transform: scale(1.35); }
.cat .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); }
.cat .ico svg { width: 24px; height: 24px; }
.cat small { margin-top: auto; color: var(--muted); font-weight: 600; font-size: .8rem; }

/* ---------- Cartes produits ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; min-width: 0; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card .media { aspect-ratio: 1 / 1; max-width: 100%; background: var(--surface-2); display: block; overflow: hidden; margin: 6px; border-radius: calc(var(--radius) - 6px); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .vendor { font-size: .8rem; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.card .go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); transition: background .18s, color .18s; }
.card:hover .go { background: var(--brand); color: var(--brand-ink); }
[dir="rtl"] .card .go svg { transform: scaleX(-1); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price del { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: 0; }
.badges { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.badge { font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.badge-demo { background: var(--demo-bg); color: var(--demo); box-shadow: inset 0 0 0 1px currentColor; }
.badge-deal { background: var(--deal); color: var(--deal-ink); }
.chip { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }

/* ---------- Boutique / filtres ---------- */
.shop { display: grid; gap: 20px; padding-block: 18px 10px; }
@media (min-width: 940px) { .shop { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.filters > div:first-child { grid-column: 1 / -1; }
@media (min-width: 940px) { .filters { grid-template-columns: 1fr; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 130px); } }
.filters label { font-weight: 700; font-size: .82rem; display: block; margin-bottom: 6px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.filters select, .filters input { width: 100%; font: inherit; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); }
.filters select:focus, .filters input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.toolbar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.toolbar .count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.empty { padding: 34px; text-align: center; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: .84rem; color: var(--muted); padding-block: 16px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }

/* ---------- Fiche produit ---------- */
.product { display: grid; gap: 24px; padding-block: 16px 28px; }
@media (min-width: 860px) { .product { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.product .media { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; padding: 8px; }
.product .media img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 14px; min-width: 0; }
@media (min-width: 860px) { .panel { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 130px); } }
.panel h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0; }
.panel .price { font-size: 2rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.panel .price del { display: inline; font-size: 1rem; }
.meta { list-style: none; padding: 14px 0 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.meta li { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.meta b { color: var(--ink); min-width: 10em; }
.demo-box { background: var(--demo-bg); color: var(--demo); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .9rem; font-weight: 600; }
.disclosure { font-size: .84rem; color: var(--muted); background: var(--surface-2); border-radius: var(--radius-sm); padding: 11px 14px; margin: 18px 0; }

/* ---------- Pages de contenu ---------- */
.prose { max-width: 720px; padding-block: 28px 36px; }
.prose h1 { margin-bottom: .6em; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 62px; position: relative; margin: 0; }
[dir="rtl"] .steps li { padding: 16px 62px 16px 16px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.contact-list { display: grid; gap: 10px; padding: 0 !important; list-style: none; }

/* ---------- Pied de page ---------- */
.footer { margin-top: 56px; background: var(--footer-bg); color: var(--footer-ink); font-size: .92rem; border-top: 4px solid var(--deal); }
.footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.footer .wrap { padding-block: 36px; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer h2 { font-size: 1.05rem; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.1); }
.footer .legal .wrap { display: block; padding-block: 16px; font-size: .8rem; color: var(--footer-ink); opacity: .85; }

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

/* ---------- Ajustements mobile ---------- */
@media (max-width: 899px) {
  .product .media { aspect-ratio: 4 / 3; }
}
@media (min-width: 761px) {
  .nav .wrap { -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); }
  [dir="rtl"] .nav .wrap { -webkit-mask-image: linear-gradient(to left, #000 92%, transparent); mask-image: linear-gradient(to left, #000 92%, transparent); }
}
