/* Les Zaff — vitrine. Identité : bleu profond + noir, fonds clairs, étoile. Mobile d'abord. */
:root {
  --blue: #1537d8; --blue-dark: #0e27a3; --black: #0b0b0f; --bg: #f4f5fb; --card: #ffffff;
  --text: #0b0b0f; --muted: #5d6275; --line: #e3e5ef; --radius: 16px;
  --display: "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; margin: 0; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-logo img { height: 44px; width: auto; }
.top-nav { display: flex; gap: 14px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.top-nav a:hover { color: var(--blue); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px;
  border-radius: 999px; font-weight: 800; font-size: 1rem; border: 2px solid transparent; transition: transform .08s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-tg { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(21,55,216,.3); }
.btn-tg:hover { background: var(--blue-dark); }
.btn-black { background: var(--black); color: #fff; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-small { padding: 9px 14px; font-size: .9rem; box-shadow: none; }
.btn-wide { width: 100%; }

/* Héros */
.hero { position: relative; overflow: hidden; text-align: center; padding: 36px 20px 30px; background: #fff; }
.hero-bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 170px; fill: var(--blue); opacity: .1; pointer-events: none; }
.hero > :not(.hero-bg) { position: relative; }
.hero-logo { width: min(280px, 70vw); margin: 0 auto 8px; }
.hero h1 { font-size: clamp(3rem, 14vw, 5.5rem); line-height: .92; }
.hero h1::after { content: " ★"; color: var(--blue); }
.hero-sub { color: var(--muted); font-weight: 600; margin: 10px 0 18px; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }

/* Bandeau promos */
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; background: var(--black); color: #fff; }
.strip::-webkit-scrollbar { display: none; }
.strip span { white-space: nowrap; font-size: .85rem; font-weight: 600; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }

/* Sections et grille */
.section { padding: 26px 16px; }
.section.center { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(11,11,15,.06); }
.card-img { position: relative; aspect-ratio: 4 / 5; background: #eef0f7; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-noimg { display: grid; place-items: center; height: 100%; font-size: 2.5rem; color: var(--blue); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-new { background: var(--blue); color: #fff; }
.badge-low { background: var(--black); color: #fff; }
.badge-inline { position: static; display: inline-block; margin: 8px 0 0; }
.card-body { padding: 10px 12px 12px; }
.card-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 800; }
.card-title { font-weight: 600; font-size: .95rem; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-weight: 800; margin-top: 4px; }
.count { color: var(--muted); font-size: .9rem; margin: 12px 0; }
.empty { color: var(--muted); }
.page-title { font-size: 2.6rem; margin-bottom: 12px; }

/* Rayons */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.chip small { color: var(--muted); font-weight: 400; }
.chip-on { background: var(--black); color: #fff; border-color: var(--black); }
.chip-on small { color: rgba(255,255,255,.7); }

/* Fiche produit */
.product { padding-bottom: 96px; }
.back { display: inline-block; padding: 10px 16px; color: var(--muted); font-weight: 600; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding: 0 12px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img, .gallery-noimg { flex: 0 0 92%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); scroll-snap-align: center; background: #eef0f7; }
.gallery-hint { text-align: center; color: var(--muted); font-size: .8rem; margin: 8px 0 0; }
.product-body { padding: 14px 16px 0; }
.product-title { font-size: 2.4rem; line-height: 1; }
.product-price { font-size: 1.6rem; font-weight: 800; margin-top: 6px; color: var(--blue); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 9px 14px; border-radius: 10px; background: var(--black); color: #fff; font-weight: 700; }
.pill small { opacity: .75; font-weight: 400; }
.pill-light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.product-desc { white-space: pre-line; margin-top: 16px; }
.reassure { list-style: none; padding: 14px 16px; margin: 18px 0 0; background: #fff; border-radius: var(--radius); font-size: .92rem; display: grid; gap: 6px; }
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(244,245,251,.9); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }

/* Pied de page */
.foot { padding: 34px 16px 40px; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); background: #fff; }
.foot-logo { width: 120px; margin: 0 auto 8px; }
.foot-tag { font-weight: 600; color: var(--text); margin: 0 0 12px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; font-weight: 600; color: var(--text); }
.foot-small { margin-top: 14px; font-size: .8rem; }

/* Écrans larges */
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 56px 20px 50px; }
  .hero-cta { flex-direction: row; justify-content: center; max-width: none; }
  .section, .product-body { max-width: 1040px; margin: 0 auto; }
  .gallery { max-width: 1040px; margin: 0 auto; }
  .gallery img, .gallery-noimg { flex-basis: 48%; }
  .cta-bar { display: flex; justify-content: center; }
  .cta-bar .btn-wide { width: auto; min-width: 360px; }
}

/* --- Pages d'information (questions, livraison & retours, à propos) --- */
.prose { max-width: 680px; margin: 0 auto; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.subnav a { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.subnav a.on { background: var(--black); color: #fff; border-color: var(--black); }
.prose h2 { font-size: 1.6rem; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 1rem; }
.prose a:not(.btn) { color: var(--blue); font-weight: 600; }
.lead { font-size: 1.15rem; font-weight: 600; }
.list { padding-left: 20px; display: grid; gap: 8px; }
.addr { font-style: normal; font-weight: 600; padding: 12px 14px; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--blue); }
details { background: #fff; border-radius: var(--radius); padding: 4px 14px; margin-bottom: 8px; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 12px; }
.prose-cta { margin-top: 30px; text-align: center; }
.prose-cta p { color: var(--muted); font-weight: 600; }
.foot-pages { margin-top: 12px; font-size: .85rem; }
