/* RT VISION — site public */
:root {
  --ink: #0e0e10;
  --ink-2: #3b3b40;
  --muted: #6b6b72;
  --paper: #ffffff;
  --card: #ffffff;
  --soft: #f4f4f5;
  --line: #e2e2e5;
  --c: #00a0e3;
  --m: #e5007e;
  --y: #ffd200;
  --accent: var(--m);
  --accent-ink: var(--m);
  --ok: #1d7a46;
  --err: #c4162a;
  --radius: 4px;
  --wrap: 1180px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 85%; font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.err { color: var(--err); }
.ico { flex: none; }
.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.eyebrow { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
/* repères CMJN, comme sur une feuille d'impression */
.cmyk { display: flex; gap: 5px; margin-bottom: 18px; }
.cmyk i { width: 14px; height: 14px; }
.cmyk i:nth-child(1) { background: var(--c); }
.cmyk i:nth-child(2) { background: var(--m); }
.cmyk i:nth-child(3) { background: var(--y); }
.cmyk i:nth-child(4) { background: var(--ink); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); }
.fine { font-size: .85rem; color: var(--muted); margin-top: .8em; }
.hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* Chargement */
.loading { min-height: 50vh; display: grid; place-items: center; }
.spinner { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.35em; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: #2a2a2e; border-color: #2a2a2e; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: wait; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; border-radius: var(--radius); cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.actions.center { justify-content: center; }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-word { font-weight: 800; font-stretch: 112%; font-size: 1.25rem; letter-spacing: .06em; }
.brand-logo { height: 38px; width: auto; }
.nav { display: flex; gap: 22px; margin-inline-end: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.bar-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .92rem; font-weight: 600; margin-inline-end: 8px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; text-decoration: none; }
.cart-btn:hover { background: var(--soft); }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; border: 0; background: none; width: 42px; height: 42px; cursor: pointer; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero-media { aspect-ratio: 4 / 5; max-height: 600px; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.hero-media:empty { display: none; }
.hero-grid:has(.hero-media:empty) { grid-template-columns: 1fr; }
.hero-grid:has(.hero-media:empty) h1 { max-width: 18ch; }
.hero-media img, .hero-media .ph { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 26px 0; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.facts .ico { color: var(--ink); margin-top: 2px; }
.facts b { color: var(--ink); font-weight: 600; }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 20px; }
.offer { display: flex; gap: 18px; align-items: center; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--m); border-radius: var(--radius); }
.offer-value { font-weight: 800; font-stretch: 80%; font-size: 1.6rem; color: var(--m); white-space: nowrap; }
.offer p { margin: .2em 0 0; color: var(--ink-2); font-size: .9rem; }
.offer small { color: var(--muted); }
.tag-offer { display: inline-block; padding: 3px 8px; background: var(--m); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 2px; }
.offer-line { margin: 0 0 .6em; font-size: .92rem; }

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section.wrap { padding-inline: 0; }
.band { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: var(--soft); border: 1px solid var(--line); }
.cat img, .cat .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover img { transform: scale(1.04); }
.cat-info { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(10, 10, 10, .72)); color: #fff; display: flex; flex-direction: column; }
.cat-info b { font-size: 1.15rem; font-stretch: 90%; }
.cat-info small { opacity: .8; }
.ph { display: grid; place-items: center; background: var(--soft); color: #b5b5bb; width: 100%; height: 100%; }
.ph span { font-weight: 800; font-stretch: 75%; font-size: 2.6rem; letter-spacing: .04em; }

/* Produits */
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.card-p { display: flex; flex-direction: column; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); margin-bottom: 14px; }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-p:hover .card-media img { transform: scale(1.04); }
.card-media .tag-offer { position: absolute; top: 10px; inset-inline-start: 10px; }
.card-body .eyebrow { margin-bottom: .3em; font-size: .7rem; }
.card-body h3 { margin: 0 0 .3em; font-size: 1.05rem; }
.card-body p { font-size: .9rem; margin: 0 0 .6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; font-size: 1.02rem; }
.price small { font-weight: 400; color: var(--muted); }
.empty { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; counter-reset: s; }
.steps li { counter-increment: s; padding-block: 20px 8px; padding-inline: 0 4px; border-top: 4px solid var(--ink); }
.steps li:nth-child(4n+1) { border-color: var(--c); }
.steps li:nth-child(4n+2) { border-color: var(--m); }
.steps li:nth-child(4n+3) { border-color: var(--y); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; font-stretch: 75%; font-size: 2rem; color: var(--ink); margin-bottom: 8px; }
.steps b { display: block; font-size: 1.08rem; margin-bottom: .3em; }
.steps p { color: var(--ink-2); font-size: .94rem; }

/* Galerie */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery figure[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.g-open .ph { aspect-ratio: 4 / 3; }
.g-open { border: 1px solid var(--line); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .9); }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox p { color: #ddd; text-align: center; margin: 10px 0 0; }
.lb-close { position: fixed; top: 16px; inset-inline-end: 16px; border: 0; background: none; color: #fff; cursor: pointer; }

/* Chips & recherche */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .9rem; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--muted); min-width: 240px; }
.search input { border: 0; background: none; padding: 9px 0; outline: none; width: 100%; color: var(--ink); }

/* En-têtes de page */
.page-head { padding: clamp(32px, 5vw, 64px) 0 28px; }
.page-head.slim { padding-bottom: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.notice { padding: clamp(60px, 10vw, 120px) 0; max-width: 640px; text-align: center; }
.notice .btn { margin: 4px; }

/* Fiche produit */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 20px; }
.p-main { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.p-main img, .p-main .ph { width: 100%; height: 100%; object-fit: cover; }
.p-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.p-thumbs button { width: 72px; height: 72px; padding: 0; border: 1.5px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; }
.p-thumbs button.on { border-color: var(--ink); }
.p-thumbs img, .p-thumbs .ph { width: 100%; height: 100%; object-fit: cover; }
.p-thumbs .ph span { font-size: 1rem; }
.p-buy { position: sticky; top: 92px; }
.p-buy h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.opt { border: 0; padding: 0; margin: 0 0 18px; }
.opt legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: .92rem; }
.seg input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg small { color: var(--muted); font-weight: 400; }
.qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.qty-row .field { margin: 0; }
.stepper { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stepper button { width: 42px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 80px; text-align: center; border: 0 !important; border-inline: 1px solid var(--line) !important; border-radius: 0 !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.price-box { text-align: end; display: flex; flex-direction: column; }
.price-box .total { font-size: 1.9rem; font-weight: 800; font-stretch: 85%; line-height: 1.1; }
.price-box .was { text-decoration: line-through; color: var(--muted); font-size: .9rem; }
.price-box small { color: var(--muted); }
.tiers { margin-bottom: 18px; font-size: .92rem; }
.tiers summary { cursor: pointer; font-weight: 600; }
.tiers table { margin-top: 8px; border-collapse: collapse; min-width: 260px; }
.tiers th, .tiers td { text-align: start; padding-block: 6px; padding-inline: 0 18px; border-bottom: 1px solid var(--line); }
.added { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; background: #e6f4ec; color: var(--ok); border-radius: var(--radius); font-size: .93rem; }
.added a { margin-inline-start: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.p-desc { padding-top: 40px; }

/* Formulaires */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: .88rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-msg { margin: 12px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-msg:empty { display: none; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list a, .contact-list .li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; text-decoration: none; }
.contact-list a:hover span { text-decoration: underline; }
.contact-list .ico { color: var(--ink); margin-top: 3px; }
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }

/* Commande */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding-bottom: 60px; }
.co-form { display: flex; flex-direction: column; gap: 16px; }
.summary { position: sticky; top: 92px; }
.lines { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 4px; }
.line-img { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.line-img img, .line-img .ph { width: 100%; height: 100%; object-fit: cover; }
.line-img .ph span { font-size: 1.1rem; }
.line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-main a { text-decoration: none; }
.line-ctrl { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.line-qty { width: 84px !important; padding: 6px 8px !important; }
.line-price { text-align: end; display: flex; flex-direction: column; font-size: .95rem; }
.line-price s { color: var(--muted); font-size: .85rem; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; }
.choice .ico { grid-row: span 2; margin-top: 2px; }
.choice small { color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); }
.drop { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1.5px dashed #c4c4ca; border-radius: var(--radius); cursor: pointer; background: #fff; }
.drop:hover { border-color: var(--ink); }
.drop span { display: flex; flex-direction: column; }
.drop small { color: var(--muted); }
.drop input { position: absolute; opacity: 0; width: 1px; }
.files { list-style: none; padding: 0; margin: 10px 0 0; }
.files li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; }
.files li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files small { color: var(--muted); }
.sum { margin: 0 0 14px; }
.sum div { display: flex; justify-content: space-between; padding: 7px 0; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 600; }
.sum-total { border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 12px !important; }
.sum-total dt, .sum-total dd { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.pay-note { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--ok); }
.done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e6f4ec; color: var(--ok); margin-bottom: 18px; }
.order-no { font-size: 1.3rem; }
.order-no b { letter-spacing: .04em; }

/* Suivi */
.track { max-width: 760px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 16px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; }
.timeline li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); text-align: center; position: relative; }
.timeline li::before { content: ''; position: absolute; top: 11px; inset-inline: -50% 50%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline .dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; }
.timeline .past, .timeline .now { color: var(--ink); }
.timeline .past::before, .timeline .now::before { background: var(--ink); }
.timeline .past .dot, .timeline .now .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.timeline .now { font-weight: 700; }
.timeline .now .dot { background: var(--m); border-color: var(--m); }
.track-items { list-style: none; padding: 0; margin: 0 0 16px; }
.track-items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Mentions */
.legal { padding-bottom: 60px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal table { border-collapse: collapse; }
.legal th, .legal td { text-align: start; padding-block: 6px; padding-inline: 0 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; }

/* Pied de page */
.site-foot { background: var(--ink); color: #c8c8cd; border-top: 6px solid; border-image: linear-gradient(90deg, var(--c) 0 33.3%, var(--m) 33.3% 66.6%, var(--y) 66.6%) 1; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 36px; }
.foot-name { color: #fff; font-weight: 800; font-stretch: 112%; letter-spacing: .06em; font-size: 1.2rem; margin-bottom: .4em; }
.foot .muted { color: #9a9aa2; }
.foot-h { color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { margin-top: 4px; color: #8a8a92; }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #36363c; border-radius: 50%; }
.socials a:hover { border-color: #fff; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 26px; border-top: 1px solid #2a2a30; font-size: .85rem; color: #8a8a92; }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1f7a4d; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.wa-float:hover { background: #17633e; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 60; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: var(--radius); font-size: .93rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); animation: up .25s ease; }
.toast.err { background: var(--err); }
@keyframes up { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Responsive */
@media (max-width: 1020px) {
  .bar-phone span { display: none; }
  .nav { gap: 16px; }
}
@media (max-width: 880px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { display: none; }
  .site-head.open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .site-head.open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero-grid, .product, .contact, .about, .checkout, .foot { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .p-buy, .summary { position: static; }
  .foot { gap: 28px; }
}
@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
  .grid-p { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body p { display: none; }
  .line { grid-template-columns: 56px 1fr; }
  .line-img { width: 56px; height: 56px; }
  .line-price { grid-column: 2; text-align: start; }
  .timeline li { font-size: .7rem; }
  .search { min-width: 0; width: 100%; }
  .foot-legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* corrections d'affichage */
.cart-count[hidden] { display: none; }
.cat:has(.ph) .cat-info { background: none; color: var(--ink); }

/* ── Encres CMJN au cœur du thème ─────────────────────────────── */
:root { --y-ink: #c9a200; }
[data-ink=c] { --ink-x: var(--c); }
[data-ink=m] { --ink-x: var(--m); }
[data-ink=y] { --ink-x: var(--y); }
[data-ink=k] { --ink-x: var(--ink); }
.sec-head[data-ink] h2::before { content: ''; display: inline-block; width: .42em; height: .42em; margin-inline-end: .38em; vertical-align: .12em; background: var(--ink-x); }

/* Hero sans photo : trois encres en surimpression, comme une épreuve d'imprimerie */
.hero-art { position: relative; aspect-ratio: 1; max-height: 560px; isolation: isolate; }
.hero-art span { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; }
.hero-art .ink-c { background: var(--c); left: 4%; top: 6%; }
.hero-art .ink-m { background: var(--m); right: 4%; top: 6%; }
.hero-art .ink-y { background: var(--y); left: 21%; bottom: 2%; }
.hero-art .reg { position: absolute; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; }
.hero-art .reg::before, .hero-art .reg::after { content: ''; position: absolute; background: var(--ink); }
.hero-art .reg::before { left: 50%; top: -9px; bottom: -9px; width: 1.5px; transform: translateX(-50%); }
.hero-art .reg::after { top: 50%; left: -9px; right: -9px; height: 1.5px; transform: translateY(-50%); }
.hero-art .r1 { top: 0; left: 0; }
.hero-art .r2 { bottom: 0; right: 0; }
/* Hero avec photo : décalage d'encre */
.hero-media { box-shadow: -14px 14px 0 var(--c), 14px -14px 0 var(--m); }

/* Boutons : léger défaut de calage au survol */
.btn { transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:hover, .btn.primary:hover { box-shadow: -3px 3px 0 var(--c), 3px -3px 0 var(--m); transform: translate(0, 0); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }

/* Points de trame sur les visuels en attente de photo, une encre par carte */
.ph { --t: var(--c); --t-ink: #0084bd;
  background: radial-gradient(color-mix(in srgb, var(--t) 38%, transparent) 1.4px, transparent 1.9px) 0 0 / 10px 10px,
              color-mix(in srgb, var(--t) 9%, #fff);
  color: var(--t-ink); }
.ph span { opacity: .85; }
:is(.cats > *, .grid-p > *, .gallery > *):nth-child(3n+2) .ph { --t: var(--m); --t-ink: #c4006b; }
:is(.cats > *, .grid-p > *, .gallery > *):nth-child(3n+3) .ph { --t: var(--y); --t-ink: var(--y-ink); }
.cat, .card-media, .p-main { border-color: transparent; }

/* Cartes : ombre d'encre au survol */
.cards-ink, .card-p .card-media, .cat { transition: box-shadow .2s, transform .2s; }
.grid-p > :nth-child(3n+1) { --hover: var(--c); }
.grid-p > :nth-child(3n+2) { --hover: var(--m); }
.grid-p > :nth-child(3n+3) { --hover: var(--y); }
.cats > :nth-child(3n+1) { --hover: var(--c); }
.cats > :nth-child(3n+2) { --hover: var(--m); }
.cats > :nth-child(3n+3) { --hover: var(--y); }
.card-p:hover .card-media, .cat:hover { box-shadow: 8px 8px 0 var(--hover, var(--m)); transform: translate(-3px, -3px); }

/* Avantages : une encre par ligne */
.facts li:nth-child(1) .ico { color: var(--c); }
.facts li:nth-child(2) .ico { color: var(--m); }
.facts li:nth-child(3) .ico { color: var(--y-ink); }

/* Offres : aplat jaune */
.offer { background: var(--y); border: 0; color: var(--ink); }
.offer-value { color: var(--ink); }
.offer p, .offer small { color: #3b3410; }

/* Photo & vidéo : section sombre, façon galerie */
.band.dark { background: var(--ink); color: #fff; }
.band.dark .link { color: #fff; }
.band.dark .cat { box-shadow: none; }
.band.dark .cat:hover { box-shadow: 8px 8px 0 var(--hover, var(--m)); }

/* Contact : liseré cyan sur le formulaire, encres sur les icônes */
#contact-form { border-top: 4px solid var(--c); }
.contact-list li:nth-child(4n+1) .ico { color: var(--c); }
.contact-list li:nth-child(4n+2) .ico { color: var(--m); }
.contact-list li:nth-child(4n+3) .ico { color: var(--y-ink); }
/* Plan d'accès : pleine largeur sous le contact, décalage d'encre comme le hero */
.access-map { grid-column: 1 / -1; margin: 8px 0 0; background: #fff; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  box-shadow: -10px 10px 0 var(--c), 10px -10px 0 var(--m); }
.access-map img { width: 100%; height: auto; }
.access-map figcaption { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 28px; border-inline-start: 1px solid var(--line); }
.access-map figcaption > span { display: flex; gap: 12px; align-items: flex-start; }
.access-map figcaption .ico { color: var(--m); margin-top: 3px; }
.access-map .btn { justify-content: center; }
.field[hidden] { display: none; }
/* Suivi en direct */
.live-dot { display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: var(--m); vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.track-result .flash { animation: flash 1.4s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 4px var(--y); } to { box-shadow: 0 0 0 4px transparent; } }
@media (max-width: 880px) { .access-map { grid-template-columns: 1fr; } .access-map figcaption { border-inline-start: 0; border-top: 1px solid var(--line); padding: 18px 20px; } }
@media (max-width: 560px) { .access-map { box-shadow: -6px 6px 0 var(--c), 6px -6px 0 var(--m); } }

/* Fiche produit et commande */
.seg input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 3px 3px 0 var(--c); }
.choice input:checked + span { box-shadow: inset 0 0 0 1px var(--ink), 4px 4px 0 var(--m); }
.summary { border-top: 4px solid var(--m); }
.page-head h1::after { content: ''; display: block; width: 72px; height: 6px; margin-top: 16px;
  background: linear-gradient(90deg, var(--c) 0 33.3%, var(--m) 33.3% 66.6%, var(--y) 66.6%); }
.p-buy h1::after, .notice h1::after { display: none; }
.timeline .past .dot { background: var(--c); border-color: var(--c); }
.timeline .past::before, .timeline .now::before { background: var(--c); }
:focus-visible { outline-color: var(--c); }
::selection { background: var(--y); color: var(--ink); }

@media (max-width: 880px) { .hero-art { max-width: 420px; margin: 0 auto; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .card-p:hover .card-media, .cat:hover { transform: none; } }

/* ── Langues : sélecteur FR · ع · EN, arabe de droite à gauche ── */
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-inline-end: 4px; }
.langs button { min-width: 34px; height: 30px; padding: 0 8px; border: 0; background: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); cursor: pointer; }
.langs button + button { border-inline-start: 1px solid var(--line); }
.langs button:hover { color: var(--ink); background: var(--soft); }
.langs button[aria-current] { background: var(--ink); color: var(--paper); }
.langs button[lang=ar] { font-family: 'IBM Plex Sans Arabic', var(--font); font-size: .95rem; letter-spacing: 0; }
@media (max-width: 400px) { .langs button { min-width: 28px; padding: 0 5px; } .bar { gap: 12px; } }

/* l'écriture arabe ne supporte ni l'espacement des lettres ni les capitales */
:root[lang=ar] { --font: 'Archivo', 'IBM Plex Sans Arabic', system-ui, sans-serif; }
:root[lang=ar] body { line-height: 1.85; }
:root[lang=ar] :is(h1, h2, h3, .h3) { line-height: 1.4; letter-spacing: 0; }
:root[lang=ar] :is(.eyebrow, .foot-h, .brand-word, .foot-name, .langs button, .order-no b) { letter-spacing: 0; text-transform: none; }
:root[lang=ar] .eyebrow { font-size: .85rem; }
/* flèches dans le sens de la lecture */
[dir=rtl] :is(.ico-arrow, .ico-back) { transform: scaleX(-1); }
/* décalages d'encre et ombres en miroir */
[dir=rtl] .hero-media { box-shadow: 14px 14px 0 var(--c), -14px -14px 0 var(--m); }
[dir=rtl] .access-map { box-shadow: 10px 10px 0 var(--c), -10px -10px 0 var(--m); }
[dir=rtl] .card-p:hover .card-media, [dir=rtl] .cat:hover, [dir=rtl] .band.dark .cat:hover { box-shadow: -8px 8px 0 var(--hover, var(--m)); transform: translate(3px, -3px); }
[dir=rtl] .seg input:checked + span { box-shadow: inset 0 0 0 1px var(--ink), -3px 3px 0 var(--c); }
[dir=rtl] .choice input:checked + span { box-shadow: inset 0 0 0 1px var(--ink), -4px 4px 0 var(--m); }
[dir=rtl] .site-foot { border-image: linear-gradient(270deg, var(--c) 0 33.3%, var(--m) 33.3% 66.6%, var(--y) 66.6%) 1; }
[dir=rtl] .page-head h1::after { background: linear-gradient(270deg, var(--c) 0 33.3%, var(--m) 33.3% 66.6%, var(--y) 66.6%); }
@media (max-width: 560px) { [dir=rtl] .access-map { box-shadow: 6px 6px 0 var(--c), -6px -6px 0 var(--m); } }

/* Plan d'accès animé : la carte suit légèrement la souris, l'ombre d'encre se décale au survol */
.access-map { transition: box-shadow .35s ease; }
.access-map > a { display: block; overflow: hidden; }
.access-map img { transform: scale(1.02) translate(var(--mx, 0px), var(--my, 0px)); transition: transform .5s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.access-map:hover { box-shadow: -14px 14px 0 var(--c), 14px -14px 0 var(--m); }
.access-map:hover img { transition-duration: .15s; }
[dir=rtl] .access-map:hover { box-shadow: 14px 14px 0 var(--c), -14px -14px 0 var(--m); }
@media (prefers-reduced-motion: reduce) { .access-map img { transform: none; transition: none; } }

/* Carte Google intégrée (Paramètres → Position sur la carte) */
.map-frame { position: relative; min-height: 380px; background: var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 880px) { .map-frame { min-height: 320px; } }
