/* ICONE — charte graphique : tokens */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f5f5f5;
  --ink: #111111;
  --muted: #666666;
  --line: #e4e4e4;
  --logo: #e8590c;
  --sale: #d0021b;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --danger: #a3261b;
  --radius-control: 0px;
  --radius-card: 2px;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 48px; --s6: 96px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
.kicker { font: 600 12px/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: var(--radius-control);
  background: var(--ink); color: var(--bg);
  font: 700 13px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.full { width: 100%; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* En-tête */
.bar { background: var(--ink); color: #fff; font: 600 12px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.bar:hover .marquee { animation-play-state: paused; }
.bar .track { display: flex; flex: none; }
.bar .track span { white-space: nowrap; padding: 0 28px; }
.bar .track span::before { content: "●"; color: var(--logo); font-size: 8px; vertical-align: 2px; margin-right: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; justify-content: center; }
  .bar .track[aria-hidden] { display: none; }
  .bar .track span:not(:first-child) { display: none; }
  .bar .track span::before { display: none; }
}
.bar a { color: #fff; text-underline-offset: 3px; }
header.site {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(16px, 4vw, 56px);
  padding: 12px var(--gutter) 0; background: var(--bg); border-bottom: 1px solid var(--line);
}
.logo img { display: block; height: 96px; width: auto; }
.logo { grid-column: 1; grid-row: 1; font: 900 28px/1 var(--font-display); letter-spacing: 0.22em; text-decoration: none; color: var(--logo); }
.search { grid-column: 2; grid-row: 1; display: flex; max-width: 640px; width: 100%; justify-self: center; background: var(--soft); border: 1px solid var(--soft); }
.search:focus-within { border-color: var(--ink); background: #fff; }
.search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 0; background: transparent; font-size: 15px; outline: none; }
.search button { width: 48px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.search svg { width: 20px; height: 20px; }
nav.main { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 30px; margin-top: 12px; font: 700 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
nav.main a { text-decoration: none; padding: 12px 0 11px; border-bottom: 3px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-color: var(--logo); }
.tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 8px; align-items: center; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.icon-btn svg { width: 24px; height: 24px; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--logo); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  header.site { grid-template-columns: auto 1fr auto; padding-bottom: 12px; }
  nav.main { display: none; }
  .menu-btn { display: inline-flex; }
  .tools { grid-column: 3; }
  .logo { grid-column: 2; justify-self: center; font-size: 22px; }
  .logo img { height: 92px; }
  .menu-btn { order: -1; }
  header.site .tools { display: contents; }
  header.site .menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
  header.site .cart-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-top: 10px; }
}

.follow { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: var(--s6) var(--gutter); border-top: 1px solid var(--line); }
.follow h2 { font: 900 clamp(26px, 4vw, 40px)/1.05 var(--font-display); text-transform: uppercase; }
.follow p { color: var(--muted); max-width: 46ch; margin: 0; }
.follow .btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-color: var(--ink); text-transform: none; letter-spacing: .02em; }
.follow .btn:hover { background: var(--logo); border-color: var(--logo); }
.follow svg, .foot-insta svg { width: 20px; height: 20px; flex: none; }
.foot-insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; max-width: 1200px; margin: 8px 0; }
.ig-grid[hidden] { display: none; }
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-grid a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; } }
/* Panneaux (panier, menu, filtres) */
.scrim { position: fixed; inset: 0; background: rgba(20,20,20,0.45); z-index: 40; }
.panel {
  position: fixed; top: 0; bottom: 0; z-index: 41; width: min(440px, 100vw);
  background: var(--surface); display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0,0,0,0.15);
}
.panel.right { right: 0; }
.panel.left { left: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 20px; }
.panel-body { flex: 1; overflow: auto; padding: 20px; }
.panel-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 16px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }

/* Panier */
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 112px; object-fit: cover; background: var(--bg); }
.line h3 { font: 600 14px/1.35 var(--font-body); }
.line h3 a { text-decoration: none; }
.line .meta { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; border: 1px solid var(--line); margin-top: 8px; }
.stepper button { width: 34px; height: 34px; background: none; border: 0; cursor: pointer; }
.stepper button[disabled] { color: var(--line); cursor: not-allowed; }
.stepper span { min-width: 32px; text-align: center; line-height: 34px; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.total { font-weight: 700; font-size: 18px; }
.note { font-size: 13px; color: var(--muted); }
.error { color: var(--danger); font-size: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); }

/* Accueil */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; background: #2a2a2a; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7)); }
.hero-text { position: relative; z-index: 1; width: 100%; padding: var(--s6) var(--gutter) var(--s5); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero .kicker { color: #fff; }
.hero h1 { font-size: clamp(34px, 6vw, 80px); font-weight: 900; text-transform: uppercase; max-width: 16ch; }
.hero p { max-width: 46ch; font-size: 17px; margin: 0; color: #f0f0f0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 701px) {
  .hero-media { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
  .hero-media img { min-height: 0; }
  .hero-media img:first-child { grid-row: span 2; }
}
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; background: #1b1b1b; }
  .hero-media { position: relative; inset: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 66vw 48vw; gap: 3px; }
  .hero-media img:first-child { grid-column: span 2; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 15%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.5) 62%, rgba(0,0,0,.05) 90%); }
  .hero-text { position: absolute; inset: 0; justify-content: center; padding: 0 16px; gap: 12px; }
  .hero h1 { font-size: 34px; line-height: 1.02; }
  .hero p:not(.kicker), .hero-cta .outline-light { display: none; }
}
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--logo); border-color: var(--logo); color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
section.block { padding: var(--s5) var(--gutter); }
section.block.alt { background: var(--soft); }
.sec-title { font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin-bottom: 28px; }
.sec-head { position: relative; display: flex; justify-content: center; }
.more-link { position: absolute; right: 0; top: 4px; font: 700 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 4px; }
@media (max-width: 600px) { .sec-head { flex-direction: column; align-items: center; } .more-link { position: static; margin: -16px 0 22px; } }
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.brands a {
  display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 16px;
  font: 900 clamp(18px, 2vw, 24px) var(--font-display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  border: 1px solid var(--line); background: #fff; transition: border-color .2s, color .2s;
}
.brands a:hover { border-color: var(--ink); color: var(--logo); }
.brands img { max-height: 70px; max-width: 80%; width: auto; object-fit: contain; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cats { grid-template-columns: repeat(2, 1fr); } }
.cat { position: relative; display: block; text-decoration: none; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.6)); }
.cat span { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 16px; color: #fff; text-align: center; font: 800 15px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.cat:hover span { color: var(--logo); }

/* Grille produits */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tile .ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.tile .ph img.hover { opacity: 0; }
.tile .ph:hover img.hover { opacity: 1; }
.ribbon { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.tile .brand { font: 800 13px/16px var(--font-display); min-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.tile h3 { font: 400 14px/19px var(--font-body); color: #333; margin-top: -4px; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; }
.price { font-weight: 700; }
.price:has(s) { color: var(--sale); }
.price s { font-weight: 400; color: var(--muted); margin-left: 6px; }
.tile .opts { font-size: 13px; color: var(--muted); }
.tile .brand, .tile h3, .tile .price, .tile .opts, .tile .qa { text-align: center; }
.skeleton .bar-s { margin-inline: auto; }
.tile .qa { margin-top: auto; }
.tile .qa .btn { width: 100%; min-height: 42px; padding: 0 12px; font-size: 14px; }
.soldout { font-size: 13px; color: var(--muted); }
.skeleton .ph, .skeleton .bar-s { background: linear-gradient(90deg, #ececec, #f6f6f6, #ececec); background-size: 200% 100%; animation: sh 1.2s infinite; }
.skeleton .bar-s { height: 14px; width: 70%; }
@keyframes sh { to { background-position: -200% 0; } }
.qa-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border: 1px solid var(--ink); padding: 14px; display: grid; gap: 12px; }
@media (max-width: 700px) {
  .qa-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; border: 0; border-top: 1px solid var(--ink); padding: 20px; }
}

/* Boutique */
.page-head { padding: var(--s5) var(--gutter) var(--s4); border-bottom: 1px solid var(--line); }
.page-head h1 { font: 900 clamp(28px, 4vw, 48px)/1.05 var(--font-display); text-transform: uppercase; }
.page-head p { color: var(--muted); max-width: 60ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); font-weight: 600; border-radius: var(--radius-control); text-decoration: none; font-size: 14px; background: none; cursor: pointer; }
.chip[aria-current="page"], .chip.on { background: var(--ink); color: var(--bg); }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: var(--s4) var(--gutter) var(--s6); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); }
.filters h3 { font: 700 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; margin: 22px 0 10px; }
.filters h3:first-child { margin-top: 0; }
.filters .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filters .pills button { min-width: 44px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: var(--radius-control); }
.filters .pills button.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.filters label.check { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.filters .price-in { display: flex; gap: 8px; align-items: center; }
.filters .price-in input { width: 80px; min-height: 38px; padding: 0 8px; border: 1px solid var(--line); background: var(--surface); }
.filter-btn { display: none; }
.dim { opacity: .5; pointer-events: none; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .panel .filters { display: block; }
}

/* Fiche produit */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--line); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--soft); }
.gallery img:first-child, .gallery img:last-child:nth-child(even) { grid-column: 1 / -1; }
.buy { padding: var(--s5) var(--gutter); }
.buy-inner { position: sticky; top: 182px; display: grid; gap: 20px; }
.buy h1 { font-size: clamp(28px, 3vw, 42px); }
.buy .price { font-size: 22px; }
.opt + .opt { margin-top: 6px; }
.opt h2 { font: 700 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.opt h2 span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button { min-width: 52px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: var(--radius-control); }
.choices button.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.choices button:disabled { color: #a6a6a6; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.reason { font-size: 14px; color: var(--muted); }
.desc { color: #2b2b2b; }
.desc p { margin: 0 0 10px; }
.facts { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; }
  .gallery img { flex: 0 0 80%; max-height: 45vh; scroll-snap-align: start; grid-column: auto; }
  .gallery img:first-child { grid-column: auto; }
  .buy { padding: var(--s4) var(--gutter) var(--s5); }
}

/* Pied de page */
.reassure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px var(--gutter); background: var(--soft); border-top: 1px solid var(--line); }
.reassure div { display: flex; gap: 14px; align-items: center; justify-content: center; }
.reassure svg { width: 34px; height: 34px; flex: none; color: var(--logo); }
.reassure p { margin: 0; display: grid; gap: 2px; }
.reassure strong { font: 800 13px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.reassure span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .reassure { grid-template-columns: 1fr 1fr; } .reassure div { justify-content: flex-start; } }
@media (max-width: 520px) { .reassure { grid-template-columns: 1fr; } }
footer.site { background: var(--ink); color: #fff; padding: var(--s5) var(--gutter) var(--s4); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer.site .logo { justify-self: start; color: var(--logo); }
footer.site h2 { font: 800 13px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: #d0d0d0; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; color: #fff; }
footer.site p { color: #c8c8c8; max-width: 40ch; font-size: 14px; }
footer.site .copy { grid-column: 1 / -1; border-top: 1px solid #2e2e2e; padding-top: 18px; margin: 8px 0 0; font-size: 12px; color: #9a9a9a; max-width: none; }
@media (max-width: 900px) { footer.site { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site { grid-template-columns: 1fr; } }

/* Informations légales */
.legal { max-width: 820px; margin: 0 auto; padding: var(--s5) var(--gutter) var(--s6); }
.legal section { scroll-margin-top: 200px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font: 800 clamp(22px, 2.6vw, 28px)/1.15 var(--font-display); text-transform: uppercase; margin-bottom: 18px; }
.legal h3 { font: 700 15px var(--font-display); margin: 22px 0 6px; }
.legal p { margin: 0 0 10px; color: #2b2b2b; }
.legal a { text-underline-offset: 3px; }
