/* Opyria — palette « Papier », commune au site et au portail client. */
:root {
  --bg: #f4efe4;
  --bg-deep: #ede6d7;
  --surface: #fffdf8;
  --surface-soft: #f8f3e9;
  --border: #e2d9c7;
  --line: #ece4d4;
  --ink: #1b1a17;
  --ink-soft: #3d382f;
  --muted: #655e53;
  --faint: #857c6e;
  --accent: #3f6b4e;
  --accent-hover: #2c4c37;
  --accent-soft: #e3ebde;
  --accent-ink: #f4efe4;
  --dark: #1f2a22;
  --dark-raised: #273329;
  --dark-line: #36463b;
  --dark-ink: #f4efe4;
  --dark-muted: #b9c4b2;
  --danger: #a6472f;
  --danger-bg: #fbece6;
  --soft-bg: #e3ebde;
  --soft-ink: #2c4c37;
  --firm-bg: #f5e7c9;
  --firm-ink: #7d5418;
  --formal-bg: #f7e1da;
  --formal-ink: #93412a;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 0 rgb(27 26 23 / 0.04), 0 18px 40px -18px rgb(31 42 34 / 0.28);
  --wrap: 1160px;
  --hi: #b8d1b0;
  --dark-sel: #2e4234;
  --border-strong: #cbbfa8;
  --accent-a14: rgb(63 107 78 / 0.14);
  --accent-a18: rgb(63 107 78 / 0.18);
}
/* Palette retenue : Bordeaux, en mode sombre (<html data-theme="bordeaux" data-bg="sombre">). */
[data-theme="bordeaux"] {
  --bg: #f4efe8;
  --bg-deep: #ebe3da;
  --surface: #fffcf9;
  --surface-soft: #f8f2ec;
  --border: #e3d7cc;
  --line: #ede4db;
  --border-strong: #cdbcaf;
  --accent: #931a1d;
  --accent-hover: #6e1013;
  --accent-soft: #f5dedb;
  --dark: #240c0d;
  --dark-raised: #311314;
  --dark-line: #4d2223;
  --dark-muted: #d9bdbb;
  --dark-sel: #521617;
  --hi: #f0a19c;
  --soft-bg: #f5dedb;
  --soft-ink: #6e1013;
  --accent-a14: rgb(147 26 29 / 0.14);
  --accent-a18: rgb(147 26 29 / 0.2);
}
/* Mode sombre : <html data-bg="sombre">, garde la teinte de la palette choisie. */
html[data-bg="sombre"] {
  color-scheme: dark;
  --bg: #151a17;
  --bg-deep: #1a201c;
  --surface: #1f2621;
  --surface-soft: #242c26;
  --border: #333d36;
  --line: #2a332d;
  --border-strong: #4a564e;
  --ink: #eee8da;
  --ink-soft: #d2cbbb;
  --muted: #aba491;
  --faint: #918a7c;
  --accent: var(--hi);
  --accent-hover: color-mix(in oklch, var(--hi), white 30%);
  --accent-ink: #121612;
  --accent-soft: color-mix(in oklch, var(--hi) 15%, #1f2621);
  --soft-bg: color-mix(in oklch, var(--hi) 18%, #1f2621);
  --soft-ink: var(--hi);
  --firm-bg: #3a301b;
  --firm-ink: #e9c98c;
  --formal-bg: #3e261e;
  --formal-ink: #efb39f;
  --dark: #0d110e;
  --dark-raised: #171d19;
  --dark-line: #2c362f;
  --danger: #f0a28e;
  --danger-bg: #3a221c;
  --shadow: 0 1px 0 rgb(0 0 0 / 0.3), 0 18px 40px -18px rgb(0 0 0 / 0.7);
}
html[data-bg="sombre"] .site-header {
  background: rgb(21 26 23 / 0.86);
}
html[data-bg="sombre"][data-theme="bordeaux"] {
  --hi: #ec5468;
  --accent-hover: #f37a8a;
  --dark: #0f0708;
  --dark-raised: #1e0e12;
  --dark-line: #4a1f29;
  --dark-muted: #d6b8bc;
  --bg: #170c0f;
  --bg-deep: #1e1014;
  --surface: #241318;
  --surface-soft: #2c171d;
  --border: #43232b;
  --line: #331a20;
  --border-strong: #63333f;
  --ink: #f3e6e2;
  --ink-soft: #dcc6c2;
  --muted: #b59c99;
  --faint: #977f7d;
}
html[data-bg="sombre"][data-theme="bordeaux"] .site-header {
  background: rgb(23 12 15 / 0.86);
}
html[data-bg="sombre"][data-theme="bordeaux"] .demo-band,
html[data-bg="sombre"][data-theme="bordeaux"] .cta-band {
  background: radial-gradient(120% 140% at 0% 0%, #4a0f1c 0%, #1e0a0e 55%, #0f0708 100%);
  border-color: #5a2230;
}
html[data-bg="sombre"][data-theme="bordeaux"] .plan.featured {
  background: linear-gradient(160deg, #3d0c17, #160809);
  border-color: #6b2332;
}
html[data-bg="sombre"][data-theme="bordeaux"] .eyebrow::before {
  height: 2px;
}
html[data-bg="sombre"][data-theme="bordeaux"] .pole-name,
html[data-bg="sombre"][data-theme="bordeaux"] .faq {
  border-color: var(--hi);
}
html[data-bg="sombre"][data-theme="bordeaux"] .btn-primary,
html[data-bg="sombre"][data-theme="bordeaux"] .qactions .approve,
html[data-bg="sombre"][data-theme="bordeaux"] .demo-teaser .play {
  background: #a3172f;
  border-color: #a3172f;
  color: #fff;
  box-shadow: 0 8px 24px -10px rgb(200 30 60 / 0.6);
}
html[data-bg="sombre"][data-theme="bordeaux"] .btn-primary:hover,
html[data-bg="sombre"][data-theme="bordeaux"] .qactions .approve:hover {
  background: #bd1f3a;
  color: #fff;
}
html[data-bg="sombre"] .logo-mark {
  box-shadow: 0 0 0 1px var(--border-strong);
}
html[data-bg="sombre"] .btn-dark {
  background: var(--ink);
  color: var(--bg);
}
html[data-bg="sombre"] .btn-dark:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
html[data-bg="sombre"] .demo-band,
html[data-bg="sombre"] .cta-band,
html[data-bg="sombre"] .plan.featured {
  border: 1px solid var(--dark-line);
}
html[data-bg="sombre"] .seg input:checked + span {
  background: var(--ink);
  color: var(--bg);
}
html[data-bg="sombre"] .form ::placeholder,
html[data-bg="sombre"] .receive ::placeholder {
  color: #7f786b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--accent);
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(244 239 228 / 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 9px;
  background: var(--dark);
}
.brand-name {
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 38px;
  cursor: pointer;
}
.mode-btn:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}
.mode-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
@media (max-width: 1100px) {
  .mode-btn {
    min-height: 44px;
  }
}
@media (max-width: 420px) {
  .mode-label {
    display: none;
  }
  .mode-btn {
    padding: 0 14px;
  }
}
.nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}
.nav .client {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav .client::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  min-height: 44px;
  cursor: pointer;
}
.menu-btn {
  padding: 0;
}
.menu-btn[aria-expanded="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}
@media (max-width: 1100px) {
  .nav {
    display: none;
  }
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  padding: 13px 20px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.btn[hidden] {
  display: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn-dark {
  background: var(--dark);
  color: var(--dark-ink);
}
.btn-dark:hover {
  background: var(--accent-hover);
  color: var(--dark-ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink-soft);
}
.btn-light {
  background: var(--dark-ink);
  color: var(--dark);
}
.btn-light:hover {
  background: var(--accent-soft);
  color: var(--dark);
}
.btn-outline-light {
  background: transparent;
  color: var(--dark-ink);
  border-color: var(--dark-muted);
}
.btn-outline-light:hover {
  background: var(--dark-raised);
  color: var(--dark-ink);
}
.btn-sm {
  padding: 9px 14px;
  min-height: 38px;
  font-size: 14px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.btn .arrow {
  transition: transform 0.15s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding-block: clamp(56px, 7vw, 96px);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section.alt {
  background: var(--bg-deep);
  border-top: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 52px);
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

/* Hero */
.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
  }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero h1 {
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--muted);
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-note li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3.5px;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

/* Aperçus produit (fenêtres) */
.win {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--ink);
  text-align: left;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
.win-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.win-bar .url {
  margin-left: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-bar .tag-fict {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.win-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.win-head b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
}
.win-head small {
  font-size: 12px;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.soft {
  background: var(--soft-bg);
  color: var(--soft-ink);
}
.firm {
  background: var(--firm-bg);
  color: var(--firm-ink);
}
.formal {
  background: var(--formal-bg);
  color: var(--formal-ink);
}
.neutral {
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  padding: 0 0 56px 0;
}
.hero-visual .win-mail {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin-left: auto;
}
.hero-visual .win-sheet {
  position: absolute;
  z-index: 1;
  left: -28px;
  bottom: 0;
  width: 78%;
  max-width: 420px;
  transform: rotate(-2deg);
  opacity: 0.98;
}
@media (max-width: 999px) {
  .hero-visual .win-mail {
    margin-inline: auto;
  }
  .hero-visual .win-sheet {
    left: 0;
  }
}
@media (max-width: 560px) {
  .hero-visual {
    padding-bottom: 0;
  }
  .hero-visual .win-sheet {
    display: none;
  }
}
.mail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  font-size: 14px;
}
.mail-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  font-size: 13px;
  color: var(--muted);
}
.mail-meta span:nth-child(even) {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mail-subject {
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mail-body {
  color: var(--ink-soft);
  line-height: 1.6;
  white-space: pre-line;
}
.mail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.mail-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mini-row:last-child {
  border-bottom: 0;
}
.mini-row .amt {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.mini-head {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--surface-soft);
}

/* Promesses */
.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.promise {
  padding: 28px 24px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promise + .promise {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
@media (max-width: 980px) {
  .promise + .promise {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--border);
  }
  .promise {
    padding-right: 0;
  }
}
.promise .num {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  min-width: 28px;
}
.promise h3 {
  font-size: 22px;
}
.promise p {
  font-size: 15px;
  color: var(--muted);
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.step {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}
.step h3 {
  font-size: 24px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
}
.step .when {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Ce que vous voyez */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 980px) {
  .showcase {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}
.show-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}
.show-caption h3 {
  font-size: 22px;
}
.show-caption p {
  font-size: 15px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
.inv {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 520px;
}
.inv th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 16px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.inv td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.inv tr:last-child td {
  border-bottom: 0;
}
.inv .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.inv th.num {
  text-align: right;
}
.inv .next {
  color: var(--accent-hover);
  font-weight: 600;
}
.inv .sub {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.report {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}
.rcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rcard .k {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.rcard .v {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}
.rcard .d {
  font-size: 12.5px;
  color: var(--muted);
}
.rcard.wide {
  grid-column: 1 / -1;
  background: var(--accent-soft);
  border-color: transparent;
}
.rcard.wide .d {
  color: var(--soft-ink);
}

/* Automatisations */
.poles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.pole {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pole-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pole-name small {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-size: 13px;
}
.auto {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.auto:hover {
  border-color: var(--border-strong);
}
.auto h3 {
  font-size: 20px;
  line-height: 1.2;
}
.auto p {
  font-size: 14.5px;
  color: var(--muted);
}
.auto .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-weight: 600;
  text-decoration: none;
}

/* Démo */
.demo-band {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media (min-width: 980px) {
  .demo-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
  }
}
.demo-band .eyebrow {
  color: var(--dark-muted);
}
.demo-band h2 {
  font-size: clamp(34px, 4.4vw, 50px);
  color: var(--dark-ink);
}
.demo-band h2 em {
  color: var(--hi);
}
.demo-band p {
  color: var(--dark-muted);
  font-size: 17px;
}
.demo-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.demo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--dark-ink);
  font-size: 15px;
}
.demo-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.demo-list b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--hi);
  min-width: 52px;
}
.demo-teaser {
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  text-align: left;
  display: block;
  width: 100%;
  border-radius: var(--radius);
}
.demo-teaser .win {
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6);
  transition: transform 0.25s;
}
.demo-teaser:hover .win {
  transform: translateY(-3px);
}
.demo-teaser .play {
  position: absolute;
  inset: auto 18px 18px auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.5);
}
.demo-teaser .play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.scanline {
  position: relative;
}
.demo-teaser .scanline {
  padding-bottom: 68px;
}
.scanline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent-a14), transparent);
  animation: scan 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(150px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Fenêtre de démo */
dialog.demo {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  background: var(--dark);
  color: var(--dark-ink);
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.4);
}
dialog.demo[open] {
  display: flex;
  animation: pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
dialog.demo::backdrop {
  background: rgb(20 24 20 / 0.6);
  backdrop-filter: blur(3px);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.demo-in {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}
.demo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.demo-top h2 {
  font-size: 28px;
  color: var(--dark-ink);
}
.demo-top p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--dark-muted);
}
.icon-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: var(--dark-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--dark-raised);
}
.dsteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dsteps button {
  width: 100%;
  height: 100%;
  text-align: left;
  font: inherit;
  font-size: 13px;
  padding: 10px 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--dark-line);
  background: var(--dark-raised);
  color: var(--dark-muted);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dsteps button b {
  display: block;
  font-size: 14px;
  color: var(--dark-ink);
}
.dsteps button:hover {
  border-color: var(--dark-muted);
}
.dsteps button[aria-current="step"] {
  border-color: var(--hi);
  background: var(--dark-sel);
}
.dsteps button .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--hi);
  transition: width 0.4s;
}
.dsteps button[aria-current="step"] .bar,
.dsteps button.done .bar {
  width: 100%;
}
.screen {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.3);
}
.screen .win-bar {
  position: sticky;
  top: 0;
  z-index: 2;
}
.clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.clock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.pane[hidden] {
  display: none;
}
.pane-note {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.progress {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.srow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 14px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background 0.3s;
  position: relative;
}
.srow:last-child {
  border-bottom: 0;
}
.srow.scanning {
  background: var(--accent-soft);
}
.srow.scanning::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.srow .who b {
  display: block;
}
.srow .who small {
  color: var(--faint);
  font-size: 12px;
}
.srow .amt {
  font-variant-numeric: tabular-nums;
}
.verdict {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  animation: fadein 0.35s ease;
}
.verdict[hidden] {
  display: none;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.result {
  margin: 0;
  padding: 14px 18px;
  background: var(--dark);
  color: var(--dark-ink);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadein 0.4s ease;
}
.result[hidden] {
  display: none;
}
.result b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
}
.qitem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.qitem:last-child {
  border-bottom: 0;
}
.qhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
}
.qhead small {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.qbody {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  line-height: 1.6;
  white-space: pre-line;
  color: var(--ink-soft);
  animation: fadein 0.3s ease;
}
.qbody[hidden] {
  display: none;
}
.qactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qactions button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 15px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.qactions button:hover {
  border-color: var(--ink-soft);
}
.qactions .approve {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.qactions .approve:hover {
  background: var(--accent-hover);
}
.sending {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.sending .track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.sending .track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: fill 1.1s ease forwards;
}
@keyframes fill {
  to {
    width: 100%;
  }
}
.qdone {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadein 0.3s ease;
}
.qdone.ok {
  color: var(--soft-ink);
}
.qdone.no {
  color: var(--muted);
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.summary div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.summary .sv {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
}
.summary .sl {
  font-size: 12.5px;
  color: var(--muted);
}
.arow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.arow .ch {
  color: var(--muted);
}
.arow .ch b {
  color: var(--soft-ink);
}
.anote {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--faint);
}
.receive {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  font-size: 14px;
}
.receive form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.receive input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
}
.receive .ok {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--soft-ink);
  font-weight: 600;
}
.receive .ok[hidden] {
  display: none;
}
.demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.demo-foot p {
  flex: 1 1 280px;
  font-size: 13.5px;
  color: var(--dark-muted);
}
.demo-foot .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 640px) {
  dialog.demo {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .demo-in {
    padding: 16px;
    gap: 12px;
  }
  .demo-top h2 {
    font-size: 22px;
  }
  .dsteps button {
    padding: 8px;
  }
  .dsteps button b {
    font-size: 12px;
  }
  .dsteps .hint {
    display: none;
  }
  .demo-foot {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .demo-foot p {
    display: none;
  }
  .demo-foot .btns {
    flex-direction: column;
  }
  .demo-foot .btn {
    width: 100%;
  }
  .summary {
    gap: 6px;
    padding: 12px;
  }
  .summary div {
    padding: 8px;
  }
  .summary .sv {
    font-size: 18px;
  }
  .summary .sl {
    font-size: 11px;
  }
}

/* Garanties */
.guarantees {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .guarantees {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.guarantee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.guarantee .glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dark);
  display: grid;
  place-items: center;
  color: var(--hi);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}
.guarantee h3 {
  font-size: 24px;
}
.guarantee p {
  color: var(--muted);
  font-size: 15.5px;
}
.guarantee ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.guarantee li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.guarantee li .check {
  margin-top: 3px;
}

/* Preuves sociales : emplacement à remplir */

/* FAQ */
.faq-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 980px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 72px;
  }
}
.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--accent);
}
.faq .answer {
  padding: 0 48px 22px 0;
  color: var(--ink-soft);
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
  }
}
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-copy h2 {
  font-size: clamp(34px, 4.4vw, 50px);
}
.contact-copy .lead {
  font-size: 17px;
}
.contact-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.contact-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-points .check {
  margin-top: 3px;
}
.mailto {
  font-size: 15px;
  color: var(--muted);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.form[hidden] {
  display: none;
}
.form h3 {
  font-size: 24px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 0;
}
.seg legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.seg label {
  position: relative;
  display: block;
  cursor: pointer;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.seg input:checked + span {
  background: var(--dark);
  color: var(--dark-ink);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.row2 {
  display: flex;
  gap: 12px;
}
.row2 > * {
  flex: 1 1 0;
  min-width: 0;
}
.row2 > [hidden] {
  display: none;
}
@media (max-width: 480px) {
  .row2 {
    flex-direction: column;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.opt {
  font-weight: 400;
  color: var(--faint);
}
.input,
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea,
.receive input {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--border-strong);
}
.form input:focus,
.form select:focus,
.form textarea:focus,
.receive input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-a18);
}
.form ::placeholder,
.receive ::placeholder {
  color: #9d9384;
}
.form textarea {
  min-height: 92px;
  resize: vertical;
}
.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.multi {
  position: relative;
}
.multi summary {
  list-style: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 34px 10px 12px;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.multi summary::-webkit-details-marker {
  display: none;
}
.multi summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
}
.multi[open] summary {
  border-color: var(--accent);
  background: var(--surface);
}
.multi .empty {
  color: #9d9384;
}
.multi-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 300px);
  max-height: 320px;
  overflow-y: auto;
  padding: 6px 14px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgb(0 0 0 / 0.22);
}
.multi-group {
  margin: 10px 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.multi-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}
.multi-opt input {
  margin: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex: none;
}
.multi-other {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.status[hidden] {
  display: none;
}
.status.error {
  background: var(--danger-bg);
  color: var(--danger);
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 2px;
}
.form-foot .note {
  font-size: 12.5px;
  color: var(--muted);
  flex: 1 1 200px;
}
.done {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--accent-soft);
  border-radius: 18px;
}
.done[hidden] {
  display: none;
}
.done h3 {
  font-size: 28px;
}
.done p {
  color: var(--ink-soft);
}

/* Bandeau d'appel */
.cta-band {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--dark-ink);
  max-width: 22ch;
}
.cta-band h2 em {
  color: var(--hi);
}
.cta-band p {
  color: var(--dark-muted);
  margin-top: 10px;
}

/* Pied de page */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-tag {
  margin-top: 14px;
  max-width: 34ch;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

/* Page Offre */
.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px);
}
.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.page-hero .lead {
  margin-top: 22px;
}
.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan.featured {
  background: var(--dark);
  color: var(--dark-ink);
  border-color: var(--dark);
  box-shadow: 0 30px 60px -30px rgb(31 42 34 / 0.6);
}
.plan .badge {
  position: absolute;
  top: -13px;
  left: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--hi);
  border-radius: 999px;
  padding: 5px 12px;
}
.plan h2 {
  font-size: 30px;
}
.plan .for {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
}
.plan.featured .for,
.plan.featured .setup,
.plan.featured .price small {
  color: var(--dark-muted);
}
.price {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price .from {
  font-size: 20px;
  font-style: italic;
}
.price small {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.setup {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-top: -6px;
}
.plan.featured .setup {
  border-bottom-color: var(--dark-line);
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan li .check {
  margin-top: 3px;
}
.plan.featured .check {
  background: var(--dark-sel);
}
.plan.featured .check::after {
  border-color: var(--hi);
}
.plan .btn {
  width: 100%;
}
.fineprint {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.cat {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cat-group {
  margin-top: 48px;
}
.cat-group:first-child {
  margin-top: 0;
}
.cat-group > .pole-name {
  margin-bottom: 20px;
}
.card-auto {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-auto h3 {
  font-size: 24px;
}
.card-auto p {
  color: var(--muted);
  font-size: 15.5px;
}
.card-auto dl {
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  font-size: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-auto dt {
  color: var(--faint);
}
.card-auto dd {
  margin: 0;
  color: var(--ink-soft);
}
.card-more {
  border: 1.5px dashed var(--border-strong);
  background: transparent;
  justify-content: center;
}

/* Page Confidentialité */
.legal {
  max-width: 780px;
}
.legal h1 {
  font-size: clamp(40px, 5.6vw, 60px);
  letter-spacing: -0.02em;
}
.legal .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.legal-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1000px) {
  .legal-grid {
    grid-template-columns: 220px minmax(0, 780px);
    gap: 72px;
  }
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 14px;
}
.toc p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--border);
}
.toc a {
  display: block;
  padding-left: 14px;
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent);
}
@media (max-width: 999px) {
  .toc {
    display: none;
  }
}
.prose h2 {
  font-size: 28px;
  margin: 56px 0 14px;
}
.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0;
}
.prose ul li {
  padding-left: 20px;
  position: relative;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.summary-card {
  margin-top: 32px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--soft-ink);
}
.summary-card strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}
.data-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--surface-soft);
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 720px) {
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
  }
  .data-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .data-table td {
    padding: 4px 0;
    border: 0;
  }
  .data-table td::before {
    content: attr(data-th);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .data-table td:first-child::before {
    display: none;
  }
}

/* Aperçu de l'offre sur l'accueil */
.hero-price {
  align-self: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}
.hero-price b {
  color: var(--ink);
  font-weight: 600;
}
.hero-price:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.tarifs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.plans-mini {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) {
  .plans-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pmini {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.pmini:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.pmini.featured {
  background: var(--dark);
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.pmini.featured:hover {
  color: var(--dark-ink);
  border-color: var(--hi);
}
.pmini-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--hi);
  border-radius: 999px;
  padding: 4px 10px;
}
.pmini-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}
.pmini-for {
  font-size: 14px;
  color: var(--muted);
}
.pmini.featured .pmini-for,
.pmini.featured .pmini-setup,
.pmini.featured small {
  color: var(--dark-muted);
}
.pmini-price {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pmini-price small {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.pmini-price .from {
  font-size: 18px;
  font-style: italic;
}
.pmini-setup {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.pmini.featured .pmini-setup {
  border-top-color: var(--dark-line);
}

/* Effet loupe au survol (souris uniquement, désactivé si l'utilisateur limite les animations). */
.promise .num {
  transition: min-width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.promise h3 {
  transition: color 0.2s;
}
.step,
.auto,
.cat-card,
.guarantee,
.pmini,
.card-auto,
.plan,
.showcase .win,
.rcard {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s,
    border-color 0.2s;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .step:hover,
  .auto:hover,
  .cat-card:hover,
  .guarantee:hover,
  .pmini:hover,
  .card-auto:hover,
  .plan:hover {
    transform: scale(1.035);
    box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.55);
    border-color: var(--border-strong);
    position: relative;
    z-index: 2;
  }
  .pmini:hover {
    border-color: var(--accent);
  }
  .btn:hover {
    transform: scale(1.05);
  }
  .btn:active {
    transform: scale(0.98);
  }
  .promise:hover .num {
    min-width: 64px;
  }
  .promise:hover h3 {
    color: var(--accent);
  }
  .showcase .win:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.6);
  }
  .rcard:hover {
    transform: scale(1.05);
    position: relative;
    z-index: 2;
  }
}

/* Catalogue illustré */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.cat-filters button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.cat-filters button span {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}
.cat-filters button:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}
.cat-filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.cat-filters button[aria-pressed="true"] span {
  color: var(--bg);
  opacity: 0.7;
}
.catalog {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.cat-card[hidden] {
  display: none;
}
.cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cat-no {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  color: var(--accent);
}
.cat-pole {
  color: var(--faint);
}
.cat-card h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-top: 4px;
}
.cat-card p {
  font-size: 14.5px;
  color: var(--muted);
}
.cv {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-height: 112px;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12.5px;
}
.cv-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.cv-steps .pill {
  font-size: 11px;
  padding: 3px 8px;
}
.cv-steps i {
  flex: 1 0 6px;
  max-width: 14px;
  height: 1px;
  background: var(--border-strong);
}
.cv-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}
.cv-line b {
  font-weight: 600;
  color: var(--soft-ink);
}
.cv-line.small {
  font-size: 11px;
  color: var(--faint);
}
.cv .warn {
  color: var(--formal-ink) !important;
}
.cv-gauge {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: var(--line);
}
.cv-gauge span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 8px;
  background: var(--formal-ink);
}
.cv-gauge em {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--ink);
}
.cv-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4px 10px;
}
.cv-grid span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.cv-grid b {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-score {
  display: grid;
  grid-template-columns: 24px 54px 1fr;
  align-items: center;
  gap: 8px;
}
.cv-score b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}
.cv-score .pill {
  font-size: 11px;
  justify-content: center;
}
.cv-score .bar {
  height: 5px;
  border-radius: 5px;
  background: var(--line);
  overflow: hidden;
}
.cv-score .bar i {
  display: block;
  height: 100%;
  background: var(--accent);
}
.cv-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.cv-tiles span {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}
.cv-tiles small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.cat-foot {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--faint);
}

/* Menu (3 barres) : sections de l'accueil + pages */
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.6);
  animation: fadein 0.2s ease;
}
.menu-panel[hidden] {
  display: none;
}
.menu-panel-inner {
  display: grid;
  gap: 32px;
  padding-block: 28px 32px;
}
@media (min-width: 760px) {
  .menu-panel-inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 56px;
  }
}
.menu-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.menu-sections {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 24px;
}
.menu-sections a,
.menu-pages a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}
.menu-sections a span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--accent);
  min-width: 20px;
}
.menu-sections a:hover,
.menu-pages a:hover {
  color: var(--accent);
}
.menu-pages {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.menu-pages a {
  font-family: var(--sans);
  font-size: 16px;
}
.menu-col .btn {
  width: 100%;
}
