/* ============================================================================
   PEDALFIELD — design system (archétype G : SPEC-TECH sombre)
   Route sportive : rouge course + asphalte + blanc. Saira Condensed / Archivo / mono.
   Préfixe de classes : pf-
   ============================================================================ */
:root {
  --asphalt: #0C0D10;
  --asphalt-2: #111318;
  --surface: #15171C;
  --surface-2: #1B1E25;
  --line: #2A2E37;
  --line-2: #383D49;
  --text: #F4F6F8;
  --muted: #9AA3AF;
  --muted-2: #6B7280;
  --red: #FF2E3F;
  --red-dim: #C8202F;
  --red-glow: rgba(255, 46, 63, 0.35);
  --ok: #38D39F;
  --amber: #FFB020;
  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1240px;
  --display: "Saira Condensed", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--asphalt);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* Background grid texture (spec-tech) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
}
body > * { position: relative; z-index: 1; }

.pf-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* Typography helpers */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
.pf-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 8px;
}
.pf-kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); display: inline-block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pf-sec-head { max-width: 720px; margin-bottom: 34px; }
.pf-sec-head h2 { font-size: clamp(30px, 4.4vw, 54px); text-transform: uppercase; margin: 12px 0 10px; }
.pf-sec-head p { color: var(--muted); font-size: 16px; }
section { padding: clamp(48px, 7vw, 96px) 0; }

/* ---- Buttons ------------------------------------------------------------- */
.pf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 13px 24px; border-radius: var(--radius);
  background: var(--red); color: #fff; transition: transform .15s, box-shadow .2s, background .2s;
  border: 1px solid var(--red); position: relative;
}
.pf-btn:hover { background: var(--red-dim); transform: translateY(-2px); box-shadow: 0 8px 26px var(--red-glow); }
.pf-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.pf-btn--ghost:hover { background: var(--surface-2); border-color: var(--red); color: #fff; box-shadow: none; }
.pf-btn--block { width: 100%; }
.pf-btn--lg { padding: 16px 30px; font-size: 18px; }
.pf-btn svg { width: 18px; height: 18px; }

/* ---- Announcement bar ---------------------------------------------------- */
.pf-ann {
  background: var(--red); color: #fff; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.04em; text-align: center; padding: 8px 14px; position: relative; z-index: 60;
}
.pf-ann span { opacity: .95; }

/* ---- Header -------------------------------------------------------------- */
.pf-header {
  position: sticky; top: 0; z-index: 50; background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.pf-header__row { display: flex; align-items: center; gap: 20px; height: 64px; }
.pf-logo { display: flex; align-items: center; flex-shrink: 0; }
.pf-logo img { height: 30px; width: auto; }
.pf-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.pf-nav a {
  font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--muted); padding: 8px 11px; border-radius: var(--radius);
  transition: color .15s, background .15s; position: relative;
}
.pf-nav a:hover, .pf-nav a.is-active { color: #fff; }
.pf-nav a:hover::after, .pf-nav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--red);
}
.pf-header__tools { display: flex; align-items: center; gap: 6px; }
.pf-iconbtn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--text); transition: background .15s, color .15s;
}
.pf-iconbtn:hover { background: var(--surface-2); color: var(--red); }
.pf-iconbtn svg { width: 22px; height: 22px; }
.pf-cartbtn { position: relative; }
.pf-cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--red); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pf-lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; }
.pf-lang a { color: var(--muted-2); padding: 3px 5px; border-radius: 3px; text-transform: uppercase; }
.pf-lang a.is-active { color: #fff; background: var(--surface-2); }
.pf-burger { display: none; }

/* utility "console" bar (rang supérieur du header) */
.pf-utilbar { background: var(--asphalt-2); border-bottom: 1px solid var(--line); }
.pf-utilbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.pf-util__sys { display: flex; align-items: center; gap: 20px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.pf-util__sys span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pf-util__sys b { color: var(--muted); font-weight: 500; }
.pf-led { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); display: inline-block; animation: pf-blink 2.2s ease-in-out infinite; }
@keyframes pf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pf-util__right { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .08em; }
.pf-util__right a { color: var(--muted-2); text-transform: uppercase; transition: color .15s; }
.pf-util__right a:hover { color: #fff; }
.pf-util__right .pf-lang { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 720px) { .pf-util__sys span:nth-child(n+3) { display: none; } .pf-util__right a { display: none; } }
@media (max-width: 480px) { .pf-util__sys span:nth-child(2) { display: none; } }

/* nav -> burger sous 1000px */
@media (max-width: 1000px) { .pf-nav { display: none; } .pf-burger { display: inline-flex; } }

/* search inline */
.pf-search { position: relative; flex: 0 1 220px; display: none; }
.pf-search input {
  width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius); padding: 9px 12px 9px 36px; font-size: 13px;
}
.pf-search input:focus { outline: none; border-color: var(--red); }
.pf-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
@media (min-width: 1080px) { .pf-search { display: block; } }

/* mobile menu */
.pf-mobile {
  position: fixed; inset: 0; z-index: 70; background: var(--asphalt); transform: translateX(100%);
  transition: transform .3s ease; display: flex; flex-direction: column; padding: 20px var(--gut);
  overflow-y: auto;
}
.pf-mobile.is-open { transform: translateX(0); }
.pf-mobile__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.pf-mobile nav a {
  display: block; font-family: var(--display); font-size: 26px; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.pf-mobile nav a .mono { color: var(--red); font-size: 13px; margin-right: 12px; }

/* ---- Hero --------------------------------------------------------------- */
.pf-hero { padding: 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.pf-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; }
.pf-hero__copy { padding: clamp(40px, 6vw, 84px) var(--gut); display: flex; flex-direction: column; justify-content: center; max-width: 680px; margin-left: auto; }
.pf-hero h1 { font-size: clamp(44px, 6.4vw, 88px); text-transform: uppercase; margin: 18px 0; }
.pf-hero h1 em { color: var(--red); font-style: normal; }
.pf-hero__sub { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 18px; }
.pf-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 26px; }
.pf-ticker {
  display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-family: var(--mono); width: fit-content; max-width: 100%; flex-wrap: wrap;
}
.pf-ticker div { padding: 10px 16px; border-right: 1px solid var(--line); font-size: 13px; }
.pf-ticker div:last-child { border-right: none; }
.pf-ticker b { color: var(--red); }
.pf-hero__media { position: relative; }
.pf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--asphalt) 0%, transparent 28%), linear-gradient(0deg, rgba(12,13,16,.5), transparent 50%);
}
.pf-hero__readout {
  position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2;
  background: rgba(12, 13, 16, 0.72); border: 1px solid var(--line-2); border-left: 3px solid var(--red);
  backdrop-filter: blur(6px); border-radius: var(--radius); padding: 14px 16px; font-family: var(--mono); font-size: 12px;
}
.pf-hero__readout .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--muted); }
.pf-hero__readout .row b { color: var(--text); }
.pf-hero__readout .blink { color: var(--ok); }
@media (max-width: 880px) {
  .pf-hero__grid { grid-template-columns: 1fr; }
  .pf-hero__media { min-height: 320px; order: -1; }
  .pf-hero__copy { margin: 0; }
}

/* ---- Stat strip (counters) ---------------------------------------------- */
.pf-statstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--asphalt-2); }
.pf-statstrip .pf-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.pf-stat { padding: 30px 18px; text-align: center; border-right: 1px solid var(--line); }
.pf-stat:last-child { border-right: none; }
.pf-stat .num { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); color: #fff; line-height: 1; }
.pf-stat .num .u { color: var(--red); }
.pf-stat .num .u svg { width: 22px; height: 22px; color: var(--amber); vertical-align: baseline; display: inline-block; }
.pf-mobile nav a .pf-mlink-ic svg { width: 14px; height: 14px; vertical-align: middle; }
.pf-stat .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 680px) { .pf-statstrip .pf-wrap { grid-template-columns: repeat(2, 1fr); } .pf-stat:nth-child(2) { border-right: none; } .pf-stat:nth-child(1), .pf-stat:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ---- Spec marquee (bande défilante) ------------------------------------- */
.pf-marquee-sec { padding: 0; background: var(--asphalt-2); border-bottom: 1px solid var(--line); }
.pf-marquee { overflow: hidden; white-space: nowrap; }
.pf-marquee__track { display: inline-flex; align-items: stretch; animation: pf-mq 30s linear infinite; will-change: transform; }
.pf-marquee:hover .pf-marquee__track { animation-play-state: paused; }
.pf-mq { display: inline-flex; align-items: center; gap: 7px; padding: 13px 30px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.pf-mq b { color: var(--red); }
@keyframes pf-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pf-marquee__track { animation: none; transform: none; } }

/* ---- Category matrix ---------------------------------------------------- */
.pf-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pf-catgrid--home { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; }
.pf-cat {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: flex-end; min-height: 200px; transition: border-color .2s, transform .2s;
}
.pf-cat.big { grid-row: span 2; }
.pf-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .4s; }
.pf-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,16,.92), rgba(12,13,16,.1)); }
.pf-cat:hover { border-color: var(--red); transform: translateY(-3px); }
.pf-cat:hover img { opacity: .7; transform: scale(1.05); }
.pf-cat__body { position: relative; z-index: 2; padding: 18px; width: 100%; }
.pf-cat__body h3 { font-size: 26px; text-transform: uppercase; }
.pf-cat__body .meta { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.pf-cat__body .meta svg { width: 16px; height: 16px; }
@media (max-width: 820px) { .pf-catgrid, .pf-catgrid--home { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .pf-cat.big { grid-row: span 1; } }
@media (max-width: 520px) { .pf-catgrid, .pf-catgrid--home { grid-template-columns: 1fr; } }

/* ---- Product cards ------------------------------------------------------ */
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .pf-grid, .pf-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .pf-grid, .pf-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .pf-grid, .pf-grid--3 { grid-template-columns: 1fr; } }

.pf-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.pf-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .25s; z-index: 3; }
.pf-card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.pf-card:hover::before { transform: scaleY(1); }
.pf-card__media { position: relative; aspect-ratio: 1/1; background: var(--asphalt-2); overflow: hidden; display: block; }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .4s; }
.pf-card__media img.alt { position: absolute; inset: 0; opacity: 0; }
.pf-card:hover .pf-card__media img.main { opacity: 0; }
.pf-card:hover .pf-card__media img.alt { opacity: 1; transform: scale(1.04); }
.pf-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 4; }
.pf-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 3px; display: inline-flex; align-items: center; gap: 4px;
}
.pf-badge--sale { background: var(--red); color: #fff; }
.pf-badge--new { background: var(--ok); color: #04130d; }
.pf-badge--best { background: #fff; color: #111; }
.pf-badge--low { background: var(--amber); color: #2a1b00; }
.pf-quickadd {
  position: absolute; bottom: 10px; right: 10px; z-index: 4; width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  transform: translateY(8px); opacity: 0; transition: opacity .2s, transform .2s, background .2s;
}
.pf-card:hover .pf-quickadd { opacity: 1; transform: translateY(0); }
.pf-quickadd:hover { background: var(--red-dim); }
.pf-quickadd svg { width: 20px; height: 20px; }
.pf-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pf-card__cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.pf-card__name { font-family: var(--display); font-size: 21px; text-transform: uppercase; line-height: 1; }
.pf-card__name a:hover { color: var(--red); }
.pf-rating { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pf-stars { display: inline-flex; gap: 1px; color: var(--red); }
.pf-stars svg { width: 13px; height: 13px; }
.pf-card__spec { font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.pf-card__spec span { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; }
.pf-card__foot { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 6px; }
.pf-price { font-family: var(--display); font-size: 24px; color: #fff; }
.pf-price--old { font-family: var(--mono); font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.pf-price--save { font-family: var(--mono); font-size: 11px; color: var(--red); margin-left: auto; }

/* ---- Stat bars ---------------------------------------------------------- */
.pf-bars { display: flex; flex-direction: column; gap: 12px; }
.pf-bar__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; margin-bottom: 5px; }
.pf-bar__head .v { color: var(--red); }
.pf-bar__track { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.pf-bar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--red-dim), var(--red)); transition: width 1s cubic-bezier(.2,.7,.3,1); border-radius: 3px; }

/* ---- Split / feature sections ------------------------------------------- */
.pf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pf-split__media { position: relative; min-height: 420px; }
.pf-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-split__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; background: var(--surface); }
.pf-split--rev .pf-split__media { order: 2; }
@media (max-width: 820px) { .pf-split { grid-template-columns: 1fr; } .pf-split--rev .pf-split__media { order: -1; } .pf-split__media { min-height: 280px; } }

/* ---- How it works ------------------------------------------------------- */
.pf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.pf-step { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--red); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.pf-step .n { font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.pf-step .ic { width: 40px; height: 40px; color: var(--red); margin: 12px 0 14px; }
.pf-step .ic svg { width: 40px; height: 40px; }
.pf-step h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.pf-step p { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .pf-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .pf-steps { grid-template-columns: 1fr; } }

/* ---- Protocol timeline (how-it-works vertical) -------------------------- */
.pf-protocol { position: relative; max-width: 820px; }
.pf-protocol::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--red), var(--line)); }
.pf-proto { position: relative; display: grid; grid-template-columns: 48px 56px 1fr; align-items: start; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pf-proto:last-child { border-bottom: none; }
.pf-proto__n { position: relative; z-index: 1; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--asphalt); border: 2px solid var(--red); border-radius: 50%; }
.pf-proto__ic { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--red); }
.pf-proto__ic svg { width: 26px; height: 26px; }
.pf-proto__body h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.pf-proto__body p { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .pf-proto { grid-template-columns: 44px 1fr; } .pf-proto__ic { display: none; } .pf-protocol::before { left: 21px; } }

/* ---- Comparison matrix -------------------------------------------------- */
.pf-matrix { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.pf-matrix th, .pf-matrix td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.pf-matrix thead th { font-family: var(--display); text-transform: uppercase; font-size: 17px; letter-spacing: .03em; background: var(--asphalt-2); }
.pf-matrix thead th.us { color: var(--red); }
.pf-matrix tbody tr:hover { background: var(--surface); }
.pf-matrix td.c { text-align: center; width: 130px; font-family: var(--mono); }
.pf-matrix td.c svg { width: 20px; height: 20px; }
.pf-matrix .yes { color: var(--ok); }
.pf-matrix .no { color: var(--muted-2); }
.pf-matrix tr:last-child td { border-bottom: none; }
.pf-matrix-scroll { overflow-x: auto; }

/* ---- Lab band ----------------------------------------------------------- */
.pf-lab { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pf-lab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pf-lab__inner { position: relative; z-index: 2; padding: clamp(34px, 5vw, 70px) var(--gut); display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.pf-lab__stats { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-lab__stat { flex: 1; min-width: 130px; background: rgba(12,13,16,.7); border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 16px; }
.pf-lab__stat .num { font-family: var(--display); font-size: 38px; color: #fff; line-height: 1; }
.pf-lab__stat .lbl { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
@media (max-width: 820px) { .pf-lab__inner { grid-template-columns: 1fr; } }

/* ---- Reviews ------------------------------------------------------------ */
.pf-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .pf-reviews-grid { grid-template-columns: 1fr; } }
.pf-review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pf-review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pf-review h4 { font-family: var(--display); font-size: 19px; text-transform: uppercase; margin: 4px 0 6px; }
.pf-review p { color: var(--muted); font-size: 14px; }
.pf-review__by { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 12px; display: flex; justify-content: space-between; }
.pf-review__verified { color: var(--ok); }

/* ---- Newsletter --------------------------------------------------------- */
.pf-news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(30px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.pf-news::before { content: ""; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; background: radial-gradient(circle, var(--red-glow), transparent 70%); }
.pf-news h2 { font-size: clamp(30px, 4.5vw, 52px); text-transform: uppercase; margin: 10px 0; }
.pf-news p { color: var(--muted); max-width: 540px; margin: 0 auto 22px; }
.pf-news__form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.pf-news__form input { flex: 1; background: var(--asphalt); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius); padding: 14px 16px; font-family: var(--mono); font-size: 14px; }
.pf-news__form input:focus { outline: none; border-color: var(--red); }
.pf-news small { display: block; color: var(--muted-2); font-size: 12px; margin-top: 14px; }
@media (max-width: 520px) { .pf-news__form { flex-direction: column; } }

/* ---- Footer MÉGA-SITEMAP ------------------------------------------------ */
.pf-footer { background: var(--asphalt-2); border-top: 2px solid var(--red); }
.pf-megafoot { padding-top: 56px; }
.pf-megafoot__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.5fr; gap: 26px 28px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.pf-fcol h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pf-fcol ul li { margin-bottom: 8px; }
.pf-fcol ul a { color: var(--muted); font-size: 13.5px; transition: color .15s, padding .15s; }
.pf-fcol ul a:hover { color: #fff; padding-left: 3px; }
.pf-fcol--news p { color: var(--muted-2); font-size: 13px; margin-bottom: 12px; max-width: 280px; }
.pf-fnews { display: flex; gap: 8px; max-width: 300px; }
.pf-fnews input { flex: 1; min-width: 0; }
.pf-fnews .pf-btn { padding: 0 14px; }
.pf-social { display: flex; gap: 8px; margin-top: 16px; }
.pf-social a { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: .15s; }
.pf-social a:hover { color: var(--red); border-color: var(--red); }
.pf-social svg { width: 18px; height: 18px; }
.pf-ftrust { display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pf-ftrust span { display: inline-flex; align-items: center; gap: 9px; }
.pf-ftrust svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.pf-megafoot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 18px; }
.pf-fbrand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pf-fbrand .wm { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.pf-fbrand .wm em { color: var(--red); font-style: normal; }
.pf-fbrand .tag { color: var(--muted-2); font-size: 13px; }
.pf-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pf-pay svg { height: 26px; width: auto; border-radius: 3px; }
.pf-megafoot__legal { padding: 0 0 26px; font-size: 11.5px; color: var(--muted-2); letter-spacing: .03em; }
@media (max-width: 1080px) { .pf-megafoot__grid { grid-template-columns: repeat(3, 1fr); } .pf-fcol--news { grid-column: span 3; } }
@media (max-width: 640px) { .pf-megafoot__grid { grid-template-columns: 1fr 1fr; } .pf-fcol--news { grid-column: span 2; } }
@media (max-width: 380px) { .pf-megafoot__grid { grid-template-columns: 1fr; } .pf-fcol--news { grid-column: span 1; } }

/* ---- Cart drawer -------------------------------------------------------- */
.pf-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.pf-overlay.is-open { opacity: 1; visibility: visible; }
.pf-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--surface);
  border-left: 1px solid var(--line); z-index: 90; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.pf-drawer.is-open { transform: translateX(0); }
.pf-drawer__head { padding: 18px var(--gut); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.pf-drawer__head h3 { font-size: 24px; text-transform: uppercase; }
.pf-freebar { padding: 14px var(--gut); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pf-freebar__track { height: 6px; background: var(--asphalt); border: 1px solid var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.pf-freebar__fill { height: 100%; background: var(--red); width: 0; transition: width .4s; }
.pf-freebar.ok { color: var(--ok); }
.pf-drawer__items { flex: 1; overflow-y: auto; padding: 8px var(--gut); }
.pf-citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pf-citem img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--asphalt-2); }
.pf-citem__name { font-family: var(--display); font-size: 18px; text-transform: uppercase; line-height: 1; }
.pf-citem__var { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.pf-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); margin-top: 8px; }
.pf-qty button { width: 26px; height: 26px; color: var(--text); font-size: 16px; }
.pf-qty span { font-family: var(--mono); font-size: 13px; min-width: 26px; text-align: center; }
.pf-citem__price { font-family: var(--display); font-size: 19px; text-align: right; }
.pf-citem__rm { font-family: var(--mono); font-size: 10px; color: var(--muted-2); text-transform: uppercase; margin-top: 8px; display: block; text-align: right; }
.pf-citem__rm:hover { color: var(--red); }
.pf-drawer__foot { padding: 18px var(--gut); border-top: 1px solid var(--line); }
.pf-drawer__sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.pf-drawer__sub .l { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.pf-drawer__sub .v { font-family: var(--display); font-size: 28px; }
.pf-drawer__tax { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-bottom: 14px; }
.pf-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.pf-empty svg { width: 56px; height: 56px; color: var(--line-2); margin: 0 auto 16px; }

/* ---- Toast -------------------------------------------------------------- */
.pf-toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 100;
  background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--ok);
  border-radius: var(--radius); padding: 13px 18px; font-family: var(--mono); font-size: 13px;
  display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden; transition: .25s;
}
.pf-toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.pf-toast svg { width: 18px; height: 18px; color: var(--ok); }

/* ---- Newsletter popin --------------------------------------------------- */
.pf-popin { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.7); opacity: 0; visibility: hidden; transition: .3s; }
.pf-popin.is-open { opacity: 1; visibility: visible; }
.pf-popin__box { background: var(--surface); border: 1px solid var(--line-2); border-top: 3px solid var(--red); border-radius: var(--radius-lg); max-width: 440px; width: 100%; padding: 34px; text-align: center; position: relative; }
.pf-popin__box h3 { font-size: 34px; text-transform: uppercase; margin: 8px 0; }
.pf-popin__box p { color: var(--muted); margin-bottom: 18px; }
.pf-popin__close { position: absolute; top: 12px; right: 12px; color: var(--muted); }
.pf-popin__close:hover { color: var(--red); }

/* ---- Breadcrumb / page header ------------------------------------------- */
.pf-pagehead { border-bottom: 1px solid var(--line); background: var(--asphalt-2); padding: 40px 0; }
.pf-crumb { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-bottom: 10px; }
.pf-crumb a:hover { color: var(--red); }
.pf-pagehead h1 { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; }
.pf-pagehead p { color: var(--muted); margin-top: 6px; }

/* ---- Shop layout -------------------------------------------------------- */
.pf-shop { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.pf-filters { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pf-filters h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin: 18px 0 10px; }
.pf-filters h4:first-child { margin-top: 0; }
.pf-filter-cat { display: block; padding: 7px 10px; border-radius: var(--radius); color: var(--muted); font-size: 14px; cursor: pointer; }
.pf-filter-cat:hover { background: var(--surface-2); color: #fff; }
.pf-filter-cat.is-active { background: var(--red); color: #fff; }
.pf-filters input[type=range] { width: 100%; accent-color: var(--red); }
.pf-filters select { width: 100%; background: var(--asphalt); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius); padding: 9px 10px; font-size: 13px; }
.pf-shop__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.pf-shop__count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pf-filters-toggle { display: none; }
@media (max-width: 880px) {
  .pf-shop { grid-template-columns: 1fr; }
  .pf-filters { position: static; display: none; }
  .pf-filters.is-open { display: block; }
  .pf-filters-toggle { display: inline-flex; }
}

/* ---- PDP ---------------------------------------------------------------- */
.pf-pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .pf-pdp { grid-template-columns: 1fr; gap: 24px; } }
.pf-gallery__main { position: relative; aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--asphalt-2); }
.pf-gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pf-gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pf-gallery__thumbs button { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--asphalt-2); }
.pf-gallery__thumbs button.is-active { border-color: var(--red); }
.pf-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pf-pdp__info { position: sticky; top: 80px; }
@media (max-width: 900px) { .pf-pdp__info { position: static; } }
.pf-pdp__cat { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pf-pdp__title { font-size: clamp(32px, 4.5vw, 52px); text-transform: uppercase; margin: 8px 0; }
.pf-pdp__rating { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pf-pdp__rating a { color: var(--muted); text-decoration: underline; }
.pf-pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.pf-pdp__price .now { font-family: var(--display); font-size: 42px; color: #fff; }
.pf-pdp__price .old { font-family: var(--mono); font-size: 18px; color: var(--muted-2); text-decoration: line-through; }
.pf-pdp__price .save { font-family: var(--mono); font-size: 12px; background: var(--red); color: #fff; padding: 4px 8px; border-radius: 3px; }
.pf-pdp__short { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.pf-pdp__stock { font-family: var(--mono); font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pf-pdp__stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pf-pdp__stock.low .dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.pf-pdp__stock.low { color: var(--amber); }
.pf-variant { margin-bottom: 16px; }
.pf-variant__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.pf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-chip { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--mono); font-size: 13px; color: var(--muted); cursor: pointer; transition: .15s; }
.pf-chip:hover { border-color: var(--red); color: #fff; }
.pf-chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pf-pdp__buy { display: flex; gap: 10px; align-items: stretch; margin: 22px 0 14px; }
.pf-pdp__reassure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.pf-pdp__reassure div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pf-pdp__reassure svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }

.pf-pdp__section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.pf-pdp__section h2 { font-size: 28px; text-transform: uppercase; margin-bottom: 16px; }
.pf-spectable { width: 100%; border-collapse: collapse; font-size: 14px; }
.pf-spectable tr { border-bottom: 1px solid var(--line); }
.pf-spectable td { padding: 11px 4px; }
.pf-spectable td:first-child { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 45%; }
.pf-spectable td:last-child { color: var(--text); text-align: right; font-family: var(--mono); }
.pf-benefits { display: flex; flex-direction: column; gap: 10px; }
.pf-benefits li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.pf-benefits svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* reviews block PDP */
.pf-rev-summary { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; margin-bottom: 22px; }
.pf-rev-big { text-align: center; }
.pf-rev-big .n { font-family: var(--display); font-size: 64px; line-height: 1; }
.pf-rev-dist { display: flex; flex-direction: column; gap: 6px; }
.pf-rev-dist .row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pf-rev-dist .lvl { display: inline-flex; align-items: center; gap: 3px; }
.pf-rev-dist .lvl svg { width: 11px; height: 11px; color: var(--amber); }
.pf-rev-dist .track { flex: 1; height: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.pf-rev-dist .fill { height: 100%; background: var(--red); }
@media (max-width: 560px) { .pf-rev-summary { grid-template-columns: 1fr; } }

/* FAQ */
.pf-faq__item { border-bottom: 1px solid var(--line); }
.pf-faq__q { width: 100%; text-align: left; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 20px; text-transform: uppercase; gap: 12px; }
.pf-faq__q svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; transition: transform .2s; }
.pf-faq__item.is-open .pf-faq__q svg { transform: rotate(45deg); }
.pf-faq__a { max-height: 0; overflow: hidden; transition: max-height .25s; color: var(--muted); }
.pf-faq__item.is-open .pf-faq__a { max-height: 240px; padding-bottom: 16px; }

/* sticky mobile ATC */
.pf-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(12,13,16,.95);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px var(--gut);
  display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .25s;
}
.pf-sticky-atc.is-show { transform: translateY(0); }
.pf-sticky-atc .p { font-family: var(--display); font-size: 22px; }
.pf-sticky-atc .pf-btn { flex: 1; }
@media (max-width: 900px) { .pf-sticky-atc { display: flex; } }

/* ---- Generic content pages --------------------------------------------- */
.pf-prose { max-width: 760px; }
.pf-prose h2 { font-size: 30px; text-transform: uppercase; margin: 30px 0 12px; }
.pf-prose p { color: var(--muted); margin-bottom: 14px; }
.pf-prose .lead { font-size: 20px; color: var(--text); margin-bottom: 20px; }
.pf-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.pf-value { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--red); border-radius: var(--radius); padding: 22px; }
.pf-value svg { width: 32px; height: 32px; color: var(--red); margin-bottom: 12px; }
.pf-value h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.pf-value p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 700px) { .pf-values { grid-template-columns: 1fr; } }

.pf-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 760px) { .pf-contact { grid-template-columns: 1fr; } }
.pf-form { display: flex; flex-direction: column; gap: 14px; }
.pf-form label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.pf-form input, .pf-form textarea { width: 100%; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.pf-form input:focus, .pf-form textarea:focus { outline: none; border-color: var(--red); }
.pf-form textarea { min-height: 140px; resize: vertical; }
.pf-info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.pf-info-card h3 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 6px; }
.pf-info-card p { color: var(--text); }

/* ---- Reveal animation + safety net ------------------------------------- */
.pf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.pf-reveal.is-in { opacity: 1; transform: none; }
.pf-revealed .pf-reveal { opacity: 1; transform: none; } /* filet : si JS échoue tout est visible via .pf-revealed sur <html> non posé -> fallback timeout dans app.js */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .pf-reveal { opacity: 1 !important; transform: none !important; }
}
