/* BRP landing page — static, no build, system fonts.
   Palette from the BRP app (src/styles.ts); dark mode follows the OS through CSS only. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f2f6fa;
  --surface: #ffffff;
  --surface-raised: #eaeef5;
  --border: #d5dce7;
  --text: #121a2b;
  --muted: #5a6476;
  --brand-ink: #1d4263;
  --brand-blue: #2c6492;
  --brand-grey: #687480;
  --accent: var(--brand-blue);
  --accent-hover: #24547b;
  --accent-text: #24547b;
  --accent-soft: rgba(44, 100, 146, .1);
  --focus: var(--accent);
  --hero-from: #e3edf5;
  --frame: #ffffff;
  --frame-border: #d5dce7;
  --shadow: 0 1px 2px rgba(16, 28, 52, .06), 0 24px 64px rgba(16, 28, 52, .12);
  --art-shadow: rgba(29, 66, 99, .16);
  --header-bg: color-mix(in srgb, var(--bg-alt) 90%, transparent);
  --radius: 18px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --bg-alt: #0e1724;
    --surface: #0e1422;
    --surface-raised: #161e30;
    --border: #26304a;
    --text: #f3f6fb;
    --muted: #a3adc2;
    --brand-ink: #f3f6fb;
    --brand-blue: #6fa3cf;
    --brand-grey: #aeb7c2;
    --accent: #34709f;
    --accent-hover: #2c6492;
    --accent-text: #8fbfe3;
    --accent-soft: rgba(77, 141, 190, .16);
    --focus: #8fbfe3;
    --hero-from: #182d42;
    --frame: #161e30;
    --frame-border: #313c57;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .45);
    --art-shadow: rgba(0, 0, 0, .36);
  }
}

*, *::before, *::after { box-sizing: border-box; }

/* The header is sticky only once main.js runs: without JavaScript it scrolls away with the page,
   so its open <details> menu never covers the section reached through an anchor. */
html { scroll-padding-top: 16px; }
html.js { scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  color: var(--text);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--accent-text); text-underline-offset: .18em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  margin-inline: auto;
  max-width: calc(var(--container) + 2 * var(--gutter));
  padding-inline: var(--gutter);
  width: 100%;
}

.skip-link {
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  left: 12px;
  padding: 12px 18px;
  position: absolute;
  top: -100px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ---------- Brand ---------- */
.brand {
  align-items: flex-start;
  color: var(--brand-ink);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  justify-content: center;
  text-decoration: none;
}
.brand-mark-r { fill: var(--brand-grey); }
.brand-mark { color: var(--brand-blue); height: 28px; width: auto; }
.brand-full {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
}
.button-large { border-radius: 14px; font-size: 1.0625rem; min-height: 52px; padding: 14px 26px; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { background: var(--surface); border-color: var(--border); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  position: relative;
  top: 0;
  z-index: 50;
}
html.js .site-header { position: sticky; }
.header-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: var(--header-h);
}
.nav-desktop { display: flex; gap: 4px; }
/* Desktop: the section being read, beside the logo (shown by landing.js; hidden without it and on phones). All names
   share one grid cell, so the box keeps the longest name's width and the header never moves when the section changes. */
.brand-group { align-items: center; display: flex; gap: 10px; }
.current-section {
  color: var(--accent-text);
  display: inline-grid;
  font-size: 1.0625rem;
  font-weight: 800;
  justify-items: end;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.current-section > span { grid-area: 1 / 1; visibility: hidden; }
.current-section > .is-active { visibility: visible; }
.current-section[hidden] { display: none; }
.nav-desktop a[aria-current="location"] { color: var(--accent-text); }
.nav-desktop a, .menu-panel a {
  border-radius: 10px;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  padding: 11px 14px;
  text-decoration: none;
}
.nav-desktop a:hover { background: var(--accent-soft); color: var(--accent-text); }
.header-actions { align-items: center; display: flex; gap: 8px; }

.nav-mobile { display: none; position: relative; }
.menu-toggle {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  list-style: none;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0 12px;
  font-weight: 700;
  font-size: .9375rem;
  background: var(--surface);
}
.menu-toggle::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  background: currentColor;
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 18px;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; left: 0; position: absolute; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.nav-mobile[open] .menu-icon { background: transparent; }
.nav-mobile[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
}
.menu-panel a { padding: 13px 14px; }
.menu-panel a:hover { background: var(--accent-soft); }

/* ---------- Shared section parts ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-alt { background: var(--bg-alt); }
.section-head { margin: 0 auto clamp(40px, 6vw, 72px); max-width: 760px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h2, .summary-head h2, .pricing-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -.035em;
}
.eyebrow {
  color: var(--accent-text);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; }

/* Each app capture follows the system appearance, with its own mobile crop. */
.shot { margin: 0; }
.shot picture {
  background: var(--frame);
  border: 1px solid var(--frame-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  overflow: hidden;
  padding: 6px;
}
.shot img { border-radius: calc(var(--radius) - 6px); height: auto; width: 100%; }
.shot figcaption {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--bg) 78%);
  overflow: hidden;
  padding-top: clamp(56px, 9vw, 120px);
}
.hero-copy { max-width: 980px; text-align: center; }
.hero h1 {
  color: var(--brand-ink);
  font-size: clamp(2.25rem, 6.4vw, 5rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}
.hero .lead { margin: 24px auto 0; max-width: 680px; }
.hero .cta-row { justify-content: center; margin-top: 36px; }
.hero-badge {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-text);
  display: inline-flex;
  font-size: .9375rem;
  font-weight: 600;
  gap: 8px;
  line-height: 1.35;
  margin-top: 18px;
  max-width: 100%;
  padding: 8px 16px;
  text-align: left;
}
.hero-badge svg { fill: none; flex: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.hero-visual {
  margin-top: clamp(48px, 7vw, 88px);
  max-width: calc(1160px + 2 * var(--gutter));
  padding-bottom: clamp(56px, 8vw, 104px);
  position: relative;
}
.hero-art { margin: 0 auto 16px; max-width: clamp(240px, 30vw, 380px); }
.lead-lines span { display: block; }

/* Approved French/English film: user-initiated playback, full frame on every screen. */
.video-title {
  color: var(--brand-ink);
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -.035em;
  margin-bottom: clamp(24px, 4vw, 40px);
  text-align: center;
}
.video-layout { align-items: end; display: grid; gap: clamp(16px, 3vw, 32px); grid-template-columns: 180px minmax(0, 1fr); }
.presentation-video {
  aspect-ratio: 16 / 9;
  background: #071b31;
  border: 1px solid var(--frame-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: contain;
  overflow: hidden;
  width: 100%;
}

/* Transparent artwork sits directly on the section background. */
.art { filter: drop-shadow(0 7px 9px var(--art-shadow)); height: auto; width: 100%; }

/* Four-step summary (review page A4): heading with BRP-Bot on its right. */
.summary { max-width: calc(980px + 2 * var(--gutter)); }
.summary-head {
  align-items: center;
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) 240px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.summary-head h2 { color: var(--brand-ink); }
.steps p + p { margin-top: 4px; }

/* Detailed steps 1–4 (review pages B1–B5): artwork beside the text, app captures centred below. */
.step-details { display: grid; gap: clamp(64px, 9vw, 120px); }
.step-detail { display: grid; gap: clamp(24px, 4vw, 40px); }
.step-head {
  align-items: center;
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: 220px minmax(0, 1fr);
  margin-inline: auto;
  max-width: 1040px;
  width: 100%;
}
.step-detail h2 { color: var(--brand-ink); font-size: clamp(1.625rem, 3.4vw, 2.5rem); letter-spacing: -.035em; }
.step-detail h3 { color: var(--brand-ink); font-size: clamp(1.375rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.step-detail p { color: var(--muted); font-size: 1.125rem; line-height: 1.6; margin-top: 16px; max-width: 760px; }
.lines span { display: block; }
.lines span + span { margin-top: 6px; }
.step-title-center { text-align: center; }
.step-detail > .shot { margin-inline: auto; max-width: 960px; width: 100%; }
.step-sort { align-items: center; display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr) 280px; }

/* ---------- Proof ---------- */
/* Match the app card's surface and leave room around the text. */
.shot-proof { margin-inline: auto; max-width: 503px; }
.shot-proof picture { background: var(--surface); padding: 18px 19px; }
.shot-proof img { border-radius: 0; }
.proof-layout {
  align-items: center;
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: 200px minmax(0, 503px);
  justify-content: center;
}
.proof-layout .shot-proof { margin: 0; width: 100%; }
.proof-list {
  display: grid;
  gap: 28px clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 760px;
  padding: 0;
  width: 100%;
}
.proof-list li {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  padding-left: 18px;
}
.proof-list strong { color: var(--text); display: block; font-size: 1.0625rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  padding: 0 0 32px 64px;
  position: relative;
}
.steps li::before {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent-text);
  content: counter(step);
  display: flex;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -4px;
  width: 40px;
}
.steps li:not(:last-child)::after {
  background: var(--border);
  bottom: 4px;
  content: "";
  left: 19.5px;
  position: absolute;
  top: 44px;
  width: 1px;
}
.steps h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.steps p { color: var(--muted); margin-top: 8px; }

/* ---------- Pricing (review page C1) ---------- */
.pricing-head { margin: 0 auto clamp(40px, 6vw, 64px); max-width: 760px; text-align: center; }
.pricing-head h2 { color: var(--brand-ink); }
.pricing-head .lead { margin-top: 12px; }
.plans {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 1040px;
  padding: 0;
}
.plan { display: flex; flex-direction: column; gap: 20px; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  flex: 1;
  padding: clamp(24px, 3vw, 32px) 20px;
  text-align: center;
}
.plan-card h3 { color: var(--brand-ink); font-size: 1.25rem; letter-spacing: -.015em; }
.plan-price { color: var(--accent-text); font-size: 1.375rem; font-weight: 800; margin-top: 6px; }
.plan-limit { color: var(--text); margin-top: 20px; }
.plan-limit small { color: var(--muted); display: block; font-size: .875rem; font-style: italic; }
/* Same box for the three badges, so the three cards above them keep one height. */
.plan-art { aspect-ratio: 4 / 5; margin-inline: auto; max-width: 200px; object-fit: contain; }
.pricing-foot { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 620px; text-align: center; }
.pricing-foot p { color: var(--muted); }
.pricing-foot p + p { margin-top: 12px; }
.pricing-foot .offer-note { font-size: .9375rem; }
.pricing-foot .button { margin-top: 28px; }

/* « Recommandé » on Pro (owner-approved 22 November 2026). */
.plan-featured .plan-card { border: 2px solid var(--accent); }
.plan-badge {
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
  padding: 4px 12px;
}

/* Desktop prices (owner's reference, 29 November 2026): three equal cards in one row, each badge small and centred
   over the card's lower edge, no large artwork row. The « Recommandé » mark and Pro's border stay on smaller screens. */
@media (min-width: 961px) {
  #tarifs { padding-block-start: clamp(36px, 3vw, 48px); }
  .plans { max-width: 1140px; }
  .plan { gap: 0; }
  .plan-card { padding-bottom: 50px; }
  .plan-art {
    margin-top: -36px;
    position: relative;
    width: clamp(64px, 5.5vw, 84px);
    z-index: 1;
  }
  .plan-featured .plan-card { border: 1px solid var(--border); }
  .plan-badge { display: none; }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1.125rem;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  min-height: 44px;
  padding: 22px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  content: "";
  flex-shrink: 0;
  height: 9px;
  margin-right: 6px;
  transform: rotate(45deg) translateY(-3px);
  width: 9px;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { color: var(--muted); max-width: 680px; padding: 0 0 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 40px; }
.footer-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-inline: -8px; }
.legal-links a {
  color: var(--muted);
  font-size: .9375rem;
  padding: 11px 8px;
  text-decoration: none;
}
.legal-links a:hover { color: var(--accent-text); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .current-section { display: none; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); margin-inline: auto; max-width: 440px; }
}

@media (min-width: 961px) {
  .site-header .button-header, .nav-desktop > a { white-space: nowrap; }
}

/* Compact desktop header: fit the longest section name and both signed-out buttons on one row. */
@media (min-width: 961px) and (max-width: 1359px) {
  .header-inner { padding-inline: 24px; gap: 10px; }
  .brand-group { flex-shrink: 0; gap: 8px; }
  .brand-group:has(.current-section:not([hidden])) .brand-full { display: none; }
  .current-section { font-size: .875rem; }
  .nav-desktop { gap: 2px; }
  .nav-desktop > a { font-size: .875rem; padding-inline: 5px; }
  .header-actions { gap: 6px; }
  .site-header .lang-switch a, .site-header .lang-switch [aria-current] { padding-inline: 4px; }
  .site-header .button-header { font-size: .875rem; padding-inline: 8px; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .summary-head, .step-head, .step-sort, .proof-layout, .video-layout { grid-template-columns: minmax(0, 1fr); }
  .summary-art { grid-row: 1; margin-inline: auto; max-width: 180px; }
  .step-art, .proof-art, .sort-art { margin-inline: auto; max-width: 180px; }
  .video-art { margin-inline: auto; max-width: 110px; }
}

/* Smartphone captures focus on the app content and its actions. */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .shot picture { border-radius: 22px; margin-inline: auto; max-width: 400px; padding: 5px; }
  .shot img { border-radius: 17px; }
  .shot-proof { max-width: 356px; }
  .shot-proof picture { padding: 14px 13px; }
  .shot-proof img { border-radius: 0; }
  .proof-list { grid-template-columns: minmax(0, 1fr); }
  .cta-row .button-large { width: 100%; }
  .hero .lead { font-size: 1.125rem; }
}

@media (max-width: 600px) {
  .header-actions .button-secondary { display: none; }
}

@media (max-width: 440px) {
  .site-header .brand-full { display: none; }
  .button-header { padding-inline: 14px; }
  .menu-label { display: none; }
  .menu-toggle { padding: 0; width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Language switch (FR · EN), in the header and the footer; the header copy yields to small screens. */
.lang-switch { align-items: center; color: var(--muted); display: inline-flex; font-size: .875rem; font-weight: 700; gap: 2px; }
.lang-switch a, .lang-switch [aria-current] { border-radius: 8px; padding: 8px 6px; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--accent-text); text-decoration: underline; }
.lang-switch [aria-current] { color: var(--text); }
.footer-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 520px) {
  .header-actions .lang-switch { display: none; }
}

/* ---------- Phones (owner-approved 22 November 2026) ----------
   Swipe cards for the steps and plans, short hero, fewer artworks and a bottom action bar.
   Desktop keeps its layout: everything below is hidden or reset above 640px. */
.cta-short, .hero-chips, .swipe-hint, .swipe-dots, .mobile-cta { display: none; }

@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .button-trial { flex-direction: column; gap: 0; line-height: 1.2; }
  .button-trial .cta-long { display: none; }
  .button-trial .cta-short { display: block; }
  .cta-short small, .mobile-cta small { display: block; font-size: .8125rem; font-weight: 500; margin-top: 2px; opacity: .9; }

  .hero { padding-top: 32px; }
  .hero-art { max-width: 220px; }
  .hero .lead { margin-top: 16px; }
  .hero .cta-row { margin-top: 24px; }
  .hero-badge { display: none; }
  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
  }
  .hero-chips li {
    background: var(--accent-soft);
    border-radius: 999px;
    color: var(--accent-text);
    font-size: .8125rem;
    font-weight: 650;
    padding: 6px 12px;
  }
  .hero-visual { margin-top: 32px; padding-bottom: 48px; }
  .video-title, .video-art { display: none; }

  /* The four-step summary yields to the swipe cards below; its heading and artwork stay. */
  #etapes { padding-bottom: 8px; }
  #etapes .steps { display: none; }
  .summary-head { margin-bottom: 0; }
  #fonctionnement { background: var(--bg-alt); padding-top: 8px; }
  .swipe-hint { color: var(--muted); display: block; font-size: .875rem; margin-bottom: 12px; }

  [data-swipe] {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-block: 4px 20px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { flex: 0 0 86%; scroll-snap-align: start; }

  .step-detail {
    align-content: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(16, 28, 52, .06), 0 6px 14px rgba(16, 28, 52, .07);
    gap: 16px;
    padding: 20px 18px;
  }
  .step-detail h2, .step-detail h3, .step-title-center { font-size: 1.3125rem; text-align: left; }
  .step-detail p { font-size: 1rem; margin-top: 10px; }
  .step-art, .sort-art, .proof-art { display: none; }
  /* Step 2 has no capture: its artwork stays, small. */
  .step-detail:nth-child(2) .step-art { display: block; max-width: 140px; }
  .step-detail .shot picture {
    max-height: 340px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 78%, transparent);
    mask-image: linear-gradient(#000 78%, transparent);
  }
  .step-detail .shot-proof picture { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .step-details { align-items: flex-start; }
  .step-detail figcaption { font-size: .75rem; margin-top: 4px; }
  .proof-list { gap: 14px; }

  .swipe-dots { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
  .swipe-dots span { background: var(--border); border-radius: 999px; height: 8px; transition: width .2s, background-color .2s; width: 8px; }
  .swipe-dots span.is-active { background: var(--accent); width: 22px; }

  .plans { max-width: none; }
  .plan { gap: 0; }
  .plan-art { max-width: 110px; margin-bottom: -18px; order: -1; position: relative; z-index: 1; }
  .plan-card { box-shadow: 0 1px 2px rgba(16, 28, 52, .06), 0 6px 14px rgba(16, 28, 52, .07); padding-top: 28px; }

  html.js .mobile-cta {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    bottom: 0;
    display: block;
    left: 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    transform: translateY(110%);
    transition: transform .25s ease;
    z-index: 40;
  }
  html.js .mobile-cta.is-visible { transform: none; }
  .mobile-cta .button { flex-direction: column; gap: 0; line-height: 1.2; width: 100%; }
  .mobile-cta small { margin-top: 0; }
}
