/* =========================================================
   Wholesaler 2.0 — feuille de style unique (v3)
   Alignée sur la charte Reseller 2.0 (reseller20-ecosysteme.com)
   - Montserrat partout
   - Fond noir, texte blanc, chiffres en blanc
   - Rouge #D01018 réservé aux boutons (et au "2.0" du logo texte)
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* couleurs */
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.48);
  --line: #242428;
  --line-strong: #36363b;
  --brand: #d01018;
  --brand-hover: #b30d14;
  /* échelle typographique (modulaire) */
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.1rem, 1.5vw, 1.3rem);
  /* Une balise = une taille, sur tout le site */
  --fs-h3: clamp(1.125rem, 1.4vw, 1.25rem);
  --fs-h2: clamp(1.625rem, 3vw, 2.25rem);
  --fs-h1: clamp(2.125rem, 4.6vw, 3.5rem);
  /* mesures */
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1200px;
  --prose: 720px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  /* mouvement */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
img { color: transparent; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
button, input { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
h1, h2, h3 { margin: 0 0 0.55em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 900; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.h3-size { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.k { color: var(--text); font-weight: 700; }             /* information clé : blanc, gras */
.lead { font-size: var(--fs-lg); line-height: 1.65; color: var(--soft); }
.sub { color: var(--soft); font-size: var(--fs-lg); }
.small { font-size: var(--fs-sm); color: var(--faint); }
.eyebrow, .kicker { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--faint); margin: 0 0 18px; }
.accent { background: linear-gradient(90deg, #d01018 0%, #e5474d 45%, #f6c9cb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(var(--prose) + 2 * var(--pad)); }
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.center { text-align: center; }
.center p, .center .lead, .center .sub { margin-left: auto; margin-right: auto; }
.section-head { margin: 0 0 clamp(36px, 5vw, 56px); max-width: 820px; }
.section-head p { color: var(--soft); }
.section-head.left { margin-bottom: 0; }
.split { display: grid; gap: clamp(36px, 6vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); transition: border-color 250ms var(--ease); }
.cell:hover { border-color: var(--line-strong); }
.cell h3 { margin-bottom: 0.6em; }
.cell p { color: var(--soft); }
.cell .fit { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid var(--line); font-weight: 600; color: var(--text); font-size: var(--fs-sm); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 30px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface); border-color: var(--text); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.92rem; }
.cta-wrap { margin-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; }
.center .cta-wrap, .cta-block .cta-wrap { align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.cta-row .cta-wrap { margin-top: 0; }
.cta-note { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--faint); }

/* ---------- Bandeau + header ---------- */
.announce { background: var(--surface); color: var(--soft); border-bottom: 1px solid var(--line); text-align: center; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 9px var(--pad); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, 0.88); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; min-height: 44px; }
.logo img { height: 36px; width: auto; }
.logo-text { font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.logo-text span { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 0.95rem; font-weight: 500; color: var(--soft); text-decoration: none; padding: 10px 0; display: inline-block; white-space: nowrap; transition: color 200ms var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list > li > a[aria-current="page"] { font-weight: 600; }
.has-sub { position: relative; }
.has-sub::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: -14px; min-width: 310px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms; box-shadow: 0 24px 48px -24px rgba(0,0,0,.9); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 12px; font-size: 0.92rem; border-radius: 6px; white-space: normal; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; transition: transform 200ms var(--ease), background-color 200ms; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1099px) {
  .burger { display: inline-block; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 40px; overflow-y: auto; display: none; }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 18px 0; font-size: 1.05rem; color: var(--text); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; box-shadow: none; padding: 0 0 12px 14px; min-width: 0; }
  .submenu a { padding: 10px 0; font-size: 0.95rem; color: var(--soft); }
  .nav > .btn { margin-top: 28px; width: 100%; }
}

/* ---------- Hero accueil ---------- */
.hero { position: relative; overflow: hidden; min-height: min(82vh, 820px); display: flex; align-items: center; background: radial-gradient(60% 70% at 35% 0%, rgba(208,16,24,.20) 0%, rgba(208,16,24,0) 70%), var(--bg); }
.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(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.82) 45%, rgba(11,11,12,.35) 100%), linear-gradient(180deg, rgba(11,11,12,0) 60%, var(--bg) 100%); }
.hero-inner { position: relative; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero h1 { max-width: none; }
.hero-title .line-1 { white-space: nowrap; }
.hero-title .accent { display: block; }
@media (max-width: 640px) { .hero-title .line-1 { white-space: normal; } }
.hero .lead { max-width: 52ch; }

/* bande de chiffres (style Reseller 2.0) */
.stats-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr; }
.stats li { padding: clamp(24px, 3.4vw, 40px) 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.stats li:last-child { border-bottom: 0; }
.stat-num { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat-label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); max-width: 26ch; line-height: 1.6; margin: 0 auto; }
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { border-bottom: 0; border-left: 1px solid var(--line); }
  .stats li:first-child { border-left: 0; }
  .stats-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .stats-4 { grid-template-columns: repeat(4, 1fr); } }
.stats-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 clamp(20px, 3vw, 40px); margin-top: 16px; }
@media (max-width: 759px) { .stats-4 { grid-template-columns: 1fr 1fr; } .stats-4 li:nth-child(odd) { border-right: 1px solid var(--line); } .stats-4 li:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- Hero pages internes ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); background: radial-gradient(50% 60% at 25% 0%, rgba(208,16,24,.12) 0%, rgba(208,16,24,0) 70%); }
.page-hero h1 { max-width: 18ch; }
.page-hero .sub { max-width: 60ch; }

/* ---------- Images ---------- */
.img-pair { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.img-pair .frame { aspect-ratio: 3 / 4; }
.img-pair .frame img { height: 100%; object-fit: cover; }
.frame { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; min-height: 180px; }
.frame img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: var(--fs-sm); color: var(--faint); padding-top: 12px; }
.fig-wide { margin: clamp(36px, 5vw, 60px) 0; }

/* ---------- Rails ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--line-strong) transparent; }
@media (max-width: 700px) { .rail { grid-auto-columns: 72%; } }
.rail > * { scroll-snap-align: start; }
.rail video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.rail-hint { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); margin-top: 14px; max-width: none; }
.rail-cards { grid-auto-columns: minmax(260px, 31%); }
@media (max-width: 700px) { .rail-cards { grid-auto-columns: 80%; } }
.rail-cards figcaption { font-weight: 700; color: var(--text); font-size: 1rem; }

/* ---------- Listes ---------- */
.checks { list-style: none; margin: 1.2em 0 0; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 6px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.bullets { margin: 1em 0 1.4em; padding-left: 1.2em; }
.bullets li { margin-bottom: 0.7em; max-width: 64ch; }
.bullets li::marker { color: var(--faint); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cat-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cat-list { grid-template-columns: repeat(3, 1fr); } }
.cat-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.cat-list h3 { margin: 0 0 8px; }
.cat-list p { margin: 0; color: var(--soft); }

/* ---------- Étapes : frise verticale (vraie séquence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 36px 72px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 22px; top: 40px; bottom: 0; width: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--soft); }

/* ---------- Grades ---------- */
.grade-letter { font-size: clamp(3.5rem, 6vw, 4.5rem); font-weight: 900; line-height: .9; letter-spacing: -0.05em; margin-bottom: 14px; }
.grade-name { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 8px; }

/* ---------- Tableau ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.97rem; }
thead th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--faint); background: var(--surface); }
thead th:first-child { color: var(--text); background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { background: var(--surface-2); color: var(--text); font-weight: 600; width: 36%; }
td:not(:first-child) { color: var(--soft); }

/* ---------- FAQ ---------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.faq-tabs button { font-size: 0.9rem; font-weight: 600; min-height: 44px; padding: 10px 18px; background: transparent; color: var(--soft); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.faq-tabs button:hover { border-color: var(--text); color: var(--text); }
.faq-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 200ms var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-70%) rotate(45deg); transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 24px 22px; color: var(--soft); }
.faq .answer p { margin-bottom: 0.8em; }

/* ---------- Articles ---------- */
.article { padding-bottom: var(--section); }
.article h1 { max-width: none; }
.article h2 { margin-top: clamp(64px, 8vw, 96px); }
.article p { font-size: 1.06rem; }
.crumbs { font-size: var(--fs-sm); color: var(--faint); padding-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin: 1.6em 0; }
.facts p { margin: 0; color: var(--soft); }
.tldr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; margin: 2em 0 0; }
.tldr-title { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); margin: 0 0 12px; }
.tldr ul { margin: 0; padding-left: 1.1em; }
.tldr li { margin-bottom: 0.5em; color: var(--soft); }
.compare { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 2em 0; }
@media (min-width: 700px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.compare > div:last-child { background: var(--surface-2); border-color: var(--line-strong); }
.compare > div:last-child h3::after { content: " \2713"; }
.compare h3 { margin-bottom: 0.8em; }
.compare p { font-size: 1rem !important; color: var(--soft); }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin: 2em 0; }
.callout .callout-title { font-weight: 600; text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.2em; color: var(--faint); margin-bottom: 0.6em; }
.callout p { color: var(--soft); }
.cond-grid .value { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 12px; line-height: 1.15; }
.cond-grid .label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); margin: 0; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color 250ms var(--ease), transform 250ms var(--ease); }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.post-card .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h3 { margin: 0; }
.post-card p { color: var(--soft); font-size: 0.95rem; margin: 0; }
.post-card .more { margin-top: auto; font-weight: 700; font-size: 0.92rem; }
.post-card:hover .more { text-decoration: underline; }

/* ---------- Bloc CTA ---------- */
.cta-block { text-align: center; }
.cta-block h2, .cta-block h1 { margin-left: auto; margin-right: auto; max-width: 22ch; }
.cta-block p { margin-left: auto; margin-right: auto; }
.cta-panel { background: radial-gradient(70% 100% at 50% 0%, rgba(208,16,24,.16), rgba(208,16,24,0) 70%), var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.cta-panel h3 { color: var(--soft); }

/* ---------- Newsletter ---------- */
.nl-center { text-align: center; max-width: 640px; margin: 0 auto; }
.nl-center .sub { margin-left: auto; margin-right: auto; }
.nl-center .cta-wrap { align-items: center; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nl-center .nl-form { justify-content: center; }
.nl-form input { flex: 1 1 240px; min-height: 52px; padding: 12px 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 1rem; transition: border-color 200ms var(--ease); }
.nl-form input:focus { outline: none; border-color: var(--text); }
.nl-form input::placeholder { color: var(--faint); }
.nl-form .btn { flex: 0 0 auto; }
.nl-msg { flex-basis: 100%; margin: 4px 0 0; font-size: var(--fs-sm); color: var(--soft); min-height: 1.4em; }
@media (max-width: 480px) { .nl-form .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .logo-text { font-size: 1.4rem; margin: 0; }
.footer-brand p { color: var(--soft); margin-top: 12px; max-width: 34ch; }
.footer-title { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; margin: 0 0 18px; color: var(--faint); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; font-size: 0.95rem; color: var(--soft); }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.85rem; color: var(--faint); }
.footer-bottom a { color: var(--soft); }
.site-footer .nl-form { margin-top: 0; }
.site-footer .nl-form input { min-height: 44px; }

/* ---------- Pages légales ---------- */
.legal h2 { margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.7em; max-width: 70ch; color: var(--soft); }
.legal li strong { color: var(--text); }
.toc { list-style: none; padding: 0; margin: 1.5em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.toc a:hover { border-color: var(--text); }

/* =========================================================
   Apparition au scroll
   Contenu présent dans le HTML dès le chargement (SEO intact).
   Masqué uniquement si le JS tourne (.js). Filet de sécurité
   dans le <head> : .js retirée après 2,5 s si le script plante.
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-hero] { opacity: 0; transform: translate3d(0, 18px, 0); animation: hero-in 900ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-hero] { opacity: 1; transform: none; }
}
@media (max-width: 480px) { .announce { font-size: 0.66rem; letter-spacing: 0.1em; } }


/* =========================================================
   v4 — ajouts
   ========================================================= */

/* Bouton du menu : fin, sur une ligne */
.btn-nav { min-height: 38px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; border-radius: var(--radius); }
.nav { gap: 24px; }
.nav-list { gap: 22px; }
@media (max-width: 1099px) { .nav > .btn-nav { min-height: 48px; font-size: 1rem; } }

/* Pourquoi : raisons en lignes (H2 à taille uniforme) */
.reasons { border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 1fr; gap: 12px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.reason h2 { margin: 0; }
.reason p { color: var(--soft); margin: 0; }
@media (min-width: 900px) { .reason { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; } }

/* Photo à côté du texte */
.photo { aspect-ratio: 4 / 3; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Titre de section de la page News */
.sr-heading { margin-bottom: 28px; }

/* Newsletter : fond aurore discret et animé */
.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora-bg { position: absolute; inset: -30%; z-index: -1; filter: blur(70px); opacity: 0.55;
  background:
    radial-gradient(38% 42% at 20% 35%, rgba(208, 16, 24, 0.55), transparent 70%),
    radial-gradient(34% 40% at 78% 30%, rgba(150, 30, 90, 0.45), transparent 70%),
    radial-gradient(40% 44% at 55% 80%, rgba(230, 110, 40, 0.30), transparent 70%),
    radial-gradient(30% 36% at 35% 75%, rgba(90, 40, 140, 0.35), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(11,11,12,0.25) 25%, rgba(11,11,12,0.25) 75%, var(--bg) 100%); }
@keyframes aurora {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); filter: blur(70px) hue-rotate(0deg); }
  50%  { transform: translate3d(3%, 3%, 0) rotate(8deg) scale(1.08); filter: blur(80px) hue-rotate(-18deg); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-6deg) scale(1.04); filter: blur(70px) hue-rotate(12deg); }
}

/* Rails : pied avec flèches */
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.rail-foot .rail-hint { margin: 0; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.rail-btn:hover { border-color: var(--text); background: var(--surface); }

/* Bouton-lien (footer) */
.link-btn { background: none; border: 0; padding: 0; color: var(--soft); font: inherit; font-size: 0.95rem; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--text); text-decoration: underline; }

/* Bandeau cookies */
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto;
  background: #000; color: var(--text); border: 1px solid var(--line-strong); border-top: 3px solid var(--brand); border-radius: var(--radius-lg);
  padding: 22px 22px 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(16px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.cookie.is-open { opacity: 1; transform: none; }
.cookie-title { font-weight: 800; font-size: 1rem; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.cookie-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.cookie p { font-size: 0.9rem; color: var(--soft); margin: 0 0 16px; }
.cookie a { color: var(--text); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 10px 16px; font-size: 0.92rem; background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.cookie-actions .btn:hover { border-color: var(--text); background: var(--surface); transform: none; }
@media (max-width: 480px) { .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; } }

@media (prefers-reduced-motion: reduce) { .aurora-bg { animation: none; } }

/* Ajustements v4 : aurore un peu plus visible, mobile */
.aurora-bg { opacity: 0.8; }
.aurora::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(11,11,12,0.1) 22%, rgba(11,11,12,0.1) 78%, var(--bg) 100%); }
@media (max-width: 560px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .hero .cta-note, .hero .lead { max-width: none; }
  .announce { font-size: 0.62rem; letter-spacing: 0.06em; }
  .rail-foot { flex-wrap: wrap; }
}

/* =========================================================
   Pile de cartes au scroll (page Pourquoi)
   Chaque carte se fixe en haut de l'écran ; la suivante
   remonte et vient la recouvrir. La carte recouverte recule
   légèrement et s'assombrit (piloté par --p, calculé en JS).
   ========================================================= */
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(20px, 4vh, 40px); }
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 24px + var(--i) * 12px);
  height: clamp(340px, 68vh, 660px);
}
.stack-card figure {
  position: relative; height: 100%; margin: 0; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 20% 10%, rgba(208,16,24,.18), transparent 60%), linear-gradient(160deg, #1d1d21, #111113);
  box-shadow: 0 -24px 60px -28px rgba(0,0,0,.95);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--p, 0) * 0.07));
  filter: brightness(calc(1 - var(--p, 0) * 0.5));
  will-change: transform, filter;
}
.stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit, cover); }
.stack-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.stack-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: clamp(20px, 3.4vw, 40px); color: var(--text);
}
.stack-card h3 { margin: 0; order: 1; max-width: 22ch; }
.stack-count { order: 2; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.2em; color: var(--soft); white-space: nowrap; }
.stack-section { padding-bottom: clamp(96px, 14vh, 160px); }
@media (max-width: 700px) {
  .stack-card { top: calc(var(--header-h) + 14px + var(--i) * 8px); height: clamp(300px, 60vh, 520px); }
  .stack-card figure { border-radius: 14px; }
}

/* Image pas encore intégrée : on masque l'icône d'image cassée */
img.img-missing { visibility: hidden; }

/* =========================================================
   v6
   ========================================================= */

/* Points forts : image seule, affichée en entier */
.stack-card { height: auto; display: flex; justify-content: center; }
.stack-card figure { height: auto; width: auto; max-width: 100%; background: none; border: 0; border-radius: 16px; overflow: hidden; }
.stack-card figure::after { display: none; }
.stack-card img { position: static; display: block; width: auto; max-width: 100%; height: auto; max-height: clamp(320px, 74vh, 720px); object-fit: contain; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: min(100%, 560px); min-height: 280px; }
@media (max-width: 700px) { .stack-card img { max-height: 70vh; min-width: 100%; min-height: 220px; } }

/* Témoignages : défilement continu, vidéos muettes sans lecteur */
.marquee { overflow: hidden; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 8px), 0, 0); } }
.vcard { position: relative; flex: none; width: clamp(200px, 22vw, 280px); aspect-ratio: 9 / 16; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); cursor: pointer; transition: transform 300ms var(--ease), border-color 300ms var(--ease); }
.vcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.vcard video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); pointer-events: none; }
.vplay { position: absolute; left: 14px; bottom: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: #000; display: flex; align-items: center; justify-content: center; transition: transform 200ms var(--ease); }
.vcard:hover .vplay { transform: scale(1.08); }
@media (max-width: 700px) { .vcard { width: 46vw; } .marquee-track { animation-duration: 32s; } }

/* Lecteur plein écran au clic */
.vmodal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 460px); width: 100%; overflow: visible; }
.vmodal::backdrop { background: rgba(0, 0, 0, .86); }
.vmodal video { width: 100%; max-height: 86vh; border-radius: var(--radius-lg); background: #000; display: block; }
.vmodal-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Mobile : seul le bouton reste collé en bas, le header défile */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .site-header { position: relative; }
  :root { --stick-top: 12px; }
  html { scroll-padding-top: 16px; }
  .stack-card { top: calc(12px + var(--i) * 8px); }
  .sticky-cta {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; z-index: 80; left: 50%; transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    min-height: 44px; padding: 10px 22px; border-radius: var(--radius);
    background: var(--brand); color: #fff; font-weight: 700; font-size: 0.92rem; white-space: nowrap; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
  }
  body { padding-bottom: 76px; }
  .cookie { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open .sticky-cta, body.modal-open .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding: 0 var(--pad); }
  .marquee-track .vcard[aria-hidden="true"] { display: none; }
}

/* =========================================================
   v7 — cadrages des vraies photos
   ========================================================= */
/* Hero : photo portrait, on garde l'enseigne Wholesaler 2.0 visible */
.hero-media img { object-position: 60% 38%; }
@media (max-width: 760px) { .hero-media img { object-position: 50% 30%; } }

/* Logo image (marque W 2.0) */
.logo img { height: 42px; }
.footer-brand .logo-text { display: block; }

/* Points forts : cartes larges, photo plein cadre */
.stack-card { height: clamp(340px, 68vh, 640px); display: block; }
.stack-card figure { height: 100%; width: 100%; border: 1px solid var(--line); background: var(--surface); }
.stack-card img { width: 100%; height: 100%; max-height: none; min-width: 0; min-height: 0; object-fit: cover; border: 0; border-radius: 0; }
@media (max-width: 760px) { .stack-card { height: clamp(300px, 62vh, 520px); } }

/* Photos portrait dans les blocs texte + image */
.split > .frame img, .split > figure.frame img { aspect-ratio: 4 / 5; object-fit: cover; }
.img-pair .frame { aspect-ratio: 4 / 5; }

/* Couverture d'article et photos d'articles en paysage */
.frame.cover img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 38%; }
.fig-wide .frame img, figure.frame.fig-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 760px) { .frame.cover img { aspect-ratio: 4 / 3; } .fig-wide .frame img, figure.frame.fig-wide img { aspect-ratio: 4 / 5; } }


/* =========================================================
   Points forts : la carte suivante REMPLACE la précédente
   Le bloc reste fixé à l'écran ; chaque carte monte et
   recouvre entièrement la précédente (même taille, même place).
   Sans JavaScript ou avec animations réduites : simple liste.
   ========================================================= */
.swap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.swap-card figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); height: clamp(300px, 62vh, 620px); }
.swap-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swap-dots { display: none; }

.js .swap.is-live { height: calc(var(--n) * 75vh + clamp(300px, 62vh, 620px)); position: relative; }
.js .swap.is-live .swap-sticky { position: sticky; top: calc(var(--header-h) + 24px); height: clamp(300px, 62vh, 620px); }
.js .swap.is-live .swap-list { display: block; position: relative; height: 100%; border-radius: 16px; overflow: hidden; }
.js .swap.is-live .swap-card { position: absolute; inset: 0; transform: translate3d(0, calc((1 - var(--t, 0)) * 100%), 0); will-change: transform; }
.js .swap.is-live .swap-card:first-child { transform: none; }
.js .swap.is-live .swap-card figure { height: 100%; border-radius: 16px; }
.js .swap.is-live .swap-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.swap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color 200ms var(--ease), transform 200ms var(--ease); }
.swap-dot.is-active { background: var(--text); transform: scale(1.25); }
@media (max-width: 760px) {
  .js .swap.is-live .swap-sticky { top: 12px; }
}

/* Points forts : sous-titre sur chaque carte */
.swap-card figure { position: relative; }
.swap-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.swap-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 3.4vw, 40px); }
.swap-card figcaption h3 { margin: 0; color: var(--text); max-width: 26ch; }

/* =========================================================
   MOBILE — refonte (≤ 760 px)
   ========================================================= */
.nav-foot { display: none; }

@media (max-width: 1099px) {
  /* Le flou d'arrière-plan du header piégeait le menu : on le retire */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 60;
         background: var(--bg); padding: 12px var(--pad) calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
         border-top: 1px solid var(--line); }
  .nav-list > li > a { font-size: 1.25rem; font-weight: 700; color: var(--text); padding: 20px 0; }
  .nav-list > li > a[aria-current="page"] { color: var(--text); box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; }
  .submenu { padding: 0 0 16px 0; }
  .submenu a { font-size: 1rem; font-weight: 500; color: var(--soft); padding: 12px 0 12px 16px; border-left: 1px solid var(--line-strong); border-radius: 0; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: none; color: var(--text); }
  .nav-foot { display: block; margin: 28px 0 0; font-size: 0.9rem; color: var(--soft); }
  .nav-foot a { color: var(--text); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --section: 56px; --pad: 20px; }
  body { font-size: 1rem; }

  /* Header : se cache en descendant, réapparaît en remontant */
  .site-header { position: sticky; top: 0; transition: transform 250ms var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }
  body.nav-open .site-header { transform: none; }
  .logo img { height: 34px; }
  .burger { width: 44px; height: 44px; }

  /* Un seul appel à l'action : le bouton flottant */
  .cta-wrap, .cta-row, .hero .cta-note, .nav > .btn-nav, .stats-band + .section .cta-wrap { display: none !important; }
  .sticky-cta { min-height: 46px; padding: 12px 26px; font-size: 0.95rem; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: 84px; }

  /* Hero */
  .hero { min-height: 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero .lead { font-size: 1.05rem; }
  .eyebrow, .kicker { letter-spacing: 0.16em; margin-bottom: 12px; }

  /* Chiffres : une ligne de 3 */
  .stats:not(.stats-4) { grid-template-columns: repeat(3, 1fr); }
  .stats:not(.stats-4) li { border-bottom: 0; border-left: 1px solid var(--line); padding: 22px 6px; gap: 8px; }
  .stats:not(.stats-4) li:first-child { border-left: 0; }
  .stats:not(.stats-4) .stat-num { font-size: 1.6rem; }
  .stats:not(.stats-4) .stat-label { font-size: 0.62rem; letter-spacing: 0.06em; line-height: 1.45; }

  /* Rythme des sections */
  .section-head { margin-bottom: 28px; }
  .split { gap: 28px; }
  .page-hero { padding: 40px 0 28px; }
  .lead, .sub { font-size: 1.02rem; }

  /* Blocs centrés : texte long aligné à gauche pour la lecture */
  .cta-panel { padding: 32px 22px; text-align: left; }
  .cta-panel h2, .cta-panel p { margin-left: 0; margin-right: 0; }
  .nl-center { text-align: left; }
  .nl-center .sub { margin-left: 0; }

  /* FAQ : filtres sur une ligne qui défile */
  .faq-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tabs button { flex: none; }
  .faq summary { padding: 18px 52px 18px 18px; font-size: 1rem; }
  .faq .answer { padding: 0 18px 18px; }

  /* Tableau comparatif : une carte par ligne */
  .table-wrap { border: 0; overflow: visible; }
  .table-wrap table { min-width: 0; display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody { display: grid; gap: 12px; }
  .table-wrap tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .table-wrap td { display: block; width: auto; border: 0; padding: 12px 16px; font-size: 0.95rem; }
  .table-wrap td::before { content: attr(data-label); display: block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 4px; }
  .table-wrap td:first-child { background: var(--surface-2); padding-top: 16px; }
  .table-wrap td:first-child::before { color: var(--brand); }
  .table-wrap td:last-child { padding-bottom: 16px; }

  /* Listes et cartes */
  .cell, .cat-list li, .steps li { padding: 20px; }
  .grid-2, .grid-3, .grid-4, .cat-list { gap: 10px; }
  .reason { padding: 24px 0; }
  .steps li { padding: 0 0 28px 60px; }
  .steps li::before { width: 40px; height: 40px; }
  .steps li::after { left: 20px; }

  /* Articles */
  .article p { font-size: 1rem; }
  .article h2 { margin-top: 48px; }
  .tldr, .facts, .callout, .compare > div { padding: 18px; }

  /* Footer : liens sur deux colonnes */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 36px; }

  /* Bandeau cookies au-dessus du bouton flottant */
  .cookie { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
body.nav-open .site-header { z-index: 70; }

/* =========================================================
   Points forts : carrousel horizontal (ordinateur et mobile)
   Photo affichée en entier, sans zoom ni recadrage.
   ========================================================= */
.rail-cards { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
.pcard { margin: 0; }
.pcard .frame { min-height: 0; aspect-ratio: 1 / 1; }
.pcard .frame img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.pcard figcaption { padding-top: 14px; }
.pcard h3 { margin: 0; }
@media (max-width: 900px) { .rail-cards { grid-auto-columns: 46%; } }
@media (max-width: 760px) {
  .rail-cards { grid-auto-columns: 82%; gap: 12px; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .pcard .frame img { transform: none !important; }
}

/* Tablettes aussi : un seul bouton, le bouton flottant */
@media (min-width: 761px) and (max-width: 1099px) {
  .cta-wrap, .cta-row, .hero .cta-note, .nav > .btn-nav { display: none !important; }
  .sticky-cta {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; z-index: 80; left: 50%; transform: translateX(-50%);
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    min-height: 48px; padding: 12px 28px; border-radius: var(--radius);
    background: var(--brand); color: #fff; font-weight: 700; font-size: 0.95rem; white-space: nowrap; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
  }
  body { padding-bottom: 90px; }
  body.nav-open .sticky-cta, body.modal-open .sticky-cta { display: none; }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
