/* =========================================================
   DEVISPOSE — Design System
   Direction: Portail premium FR 2026, éditorial + conversion-first
   ========================================================= */

:root {
  /* Couleurs */
  --ink: #0E1B26;
  --ink-2: #1A2A38;
  --paper: #F4ECDF;
  --paper-2: #EBE1CE;
  --paper-3: #E2D6BE;
  --white: #FFFFFF;
  --ember: #E2693C;
  --ember-deep: #B94E25;
  --ember-soft: #F4D6C4;
  --moss: #2E4A35;
  --moss-soft: #C9D5C4;
  --bronze: #B58851;
  --slate: #5A6470;
  --slate-2: #8A93A0;
  --fog: #D8CFBE;
  --mist: #EFE8D8;
  --danger: #C84A2C;
  --success: #2E7D4F;

  /* Typo */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Echelle */
  --step--2: clamp(0.74rem, 0.71rem + 0.16vw, 0.83rem);
  --step--1: clamp(0.83rem, 0.79rem + 0.22vw, 0.95rem);
  --step-0:  clamp(1.00rem, 0.94rem + 0.31vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.11rem + 0.45vw, 1.40rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.71vw, 1.78rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.13vw, 2.30rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.78vw, 3.05rem);
  --step-5:  clamp(2.49rem, 1.93rem + 2.78vw, 4.00rem);
  --step-6:  clamp(2.98rem, 2.14rem + 4.20vw, 5.30rem);

  /* Espacement */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Rayons */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 18px;
  --r-pill: 999px;

  /* Ombres */
  --sh-1: 0 1px 2px rgba(14,27,38,.06), 0 1px 1px rgba(14,27,38,.04);
  --sh-2: 0 4px 14px -4px rgba(14,27,38,.10), 0 2px 4px rgba(14,27,38,.05);
  --sh-3: 0 14px 38px -10px rgba(14,27,38,.18), 0 6px 12px -6px rgba(14,27,38,.08);
  --sh-card: 0 30px 60px -28px rgba(14,27,38,.30), 0 10px 24px -12px rgba(14,27,38,.14);

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 960px;
  --maxw-prose: 720px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--fog); margin: 0; }

/* ---------- Typo helpers ---------- */
.serif { font-family: var(--font-display); font-weight: 380; letter-spacing: -0.01em; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 360; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ember-deep);
}
.eyebrow--ink { color: var(--ink); opacity: .65; }

/* Titres éditoriaux */
.h-display {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: var(--step-6);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: var(--step-5);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 144;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.h-4 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.008em;
}
.h-5 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

p { margin: 0 0 var(--sp-4); }
.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink);
  opacity: .82;
  max-width: 56ch;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap-narrow { width: 100%; max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--sp-5); }
.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-7) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .h-1, .section--ink .h-2, .section--ink .h-3, .section--ink .h-4 { color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }

/* Grilles utilitaires */
.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,236,223,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(14,27,38,0.07);
}
.site-head__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-5);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 480;
  font-size: 1.32rem; letter-spacing: -0.018em; color: var(--ink);
}
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background:
    radial-gradient(120% 120% at 0% 0%, var(--ember) 0%, var(--ember-deep) 60%, #7B2F12 100%);
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 4px 10px -4px rgba(186,78,37,.55);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.35) 41%, transparent 43%);
}
.brand__dot { color: var(--ember); }
.nav { display: none; gap: var(--sp-5); margin-left: auto; }
.nav a {
  font-size: var(--step--1); font-weight: 500; color: var(--ink);
  padding: 8px 4px; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav a:hover { border-bottom-color: var(--ember); }
.head__cta { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }
@media (min-width: 980px) {
  .nav { display: inline-flex; margin-left: var(--sp-7); }
  .head__cta { margin-left: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--step--1); letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--ember); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 22px -8px rgba(226,105,60,.65);
}
.btn--primary:hover { background: var(--ember-deep); }
.btn--ink {
  background: var(--ink); color: var(--paper);
}
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(14,27,38,.18);
}
.btn--ghost:hover { background: var(--white); border-color: var(--ink); }
.btn--lg { padding: 16px 26px; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Form ---------- */
.field { display: grid; gap: 6px; }
.field label, .label {
  font-size: var(--step--2); font-weight: 600; color: var(--ink); letter-spacing: 0.01em;
  text-transform: none;
}
.field .hint { font-size: var(--step--2); color: var(--slate); }
.input, .select, .textarea {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 14px 16px; border-radius: var(--r-3);
  background: var(--white); border: 1.5px solid var(--fog);
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(14,27,38,.08);
}
.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E1B26' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.textarea { min-height: 110px; resize: vertical; }

/* ---------- Cartes ---------- */
.card {
  background: var(--white); border-radius: var(--r-4);
  border: 1px solid rgba(14,27,38,.06); padding: var(--sp-5);
  box-shadow: var(--sh-2);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.card--paper { background: var(--paper); }
.card--ink { background: var(--ink); color: var(--paper); }
.card--bordered { box-shadow: none; border: 1px solid var(--fog); }

/* ---------- Badges & tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font-size: var(--step--2); font-weight: 600;
  background: var(--mist); color: var(--ink);
  border: 1px solid var(--fog);
}
.badge--ember { background: var(--ember-soft); color: var(--ember-deep); border-color: transparent; }
.badge--moss { background: var(--moss-soft); color: var(--moss); border-color: transparent; }
.badge--ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.badge--dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}

/* ---------- Liens texte ---------- */
.link { color: var(--ink); border-bottom: 1px solid var(--fog); transition: border-color .2s; font-weight: 500; }
.link:hover { border-bottom-color: var(--ember); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ember-deep); }
.link-arrow:hover { color: var(--ember); }
.link-arrow .arrow { transition: transform .2s; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- Avis (étoiles) ---------- */
.stars {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--bronze);
}
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Steps numérotés ---------- */
.step-num {
  font-family: var(--font-display); font-weight: 360;
  font-size: var(--step-4); line-height: 1; color: var(--ember);
  font-variation-settings: "opsz" 144;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink); color: var(--paper);
  padding: var(--sp-9) 0 var(--sp-6);
  margin-top: var(--sp-9);
}
.site-foot a { color: var(--paper); opacity: .78; transition: opacity .2s; }
.site-foot a:hover { opacity: 1; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--sp-7);
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 {
  font-family: var(--font-ui); font-size: var(--step--2);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin: 0 0 var(--sp-3); opacity: .55;
}
.foot-col ul { display: grid; gap: 8px; }
.foot-col li { font-size: var(--step--1); }
.foot-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(244,236,223,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
  font-size: var(--step--2); opacity: .65;
}

/* ---------- Motif blueprint (utilisé en fond) ---------- */
.bp-grid {
  background-image:
    linear-gradient(rgba(14,27,38,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,27,38,0.045) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  background-position: -1px -1px;
}
.section--ink.bp-grid {
  background-image:
    linear-gradient(rgba(244,236,223,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,236,223,0.06) 1px, transparent 1px);
}

/* ---------- Sticky CTA mobile ---------- */
.cta-stick {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 60; display: none;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-4); padding: 10px 12px 10px 16px;
  align-items: center; gap: var(--sp-3);
  box-shadow: 0 18px 40px -16px rgba(14,27,38,.55);
}
.cta-stick strong { font-weight: 600; font-size: var(--step--1); }
.cta-stick small { display: block; font-size: var(--step--2); opacity: .7; }
@media (max-width: 760px) { .cta-stick { display: flex; } }

/* ---------- Animations ---------- */
@keyframes float-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: float-in .6s ease both; }
.fade-in.d1 { animation-delay: .08s; }
.fade-in.d2 { animation-delay: .16s; }
.fade-in.d3 { animation-delay: .24s; }
.fade-in.d4 { animation-delay: .32s; }

/* ---------- Helpers ---------- */
.muted { color: var(--slate); }
.ink { color: var(--ink); }
.ember { color: var(--ember-deep); }
.center { text-align: center; }
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); } .mt-8 { margin-top: var(--sp-8); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); } .mb-7 { margin-bottom: var(--sp-7); }
.no-break { white-space: nowrap; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } }
.show-mobile { display: initial; }
@media (min-width: 760px) { .show-mobile { display: none; } }

/* ---------- Bandeau de preuve ---------- */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4); padding: var(--sp-5) 0;
  border-top: 1px solid rgba(14,27,38,.08);
  border-bottom: 1px solid rgba(14,27,38,.08);
}
.proof__num {
  font-family: var(--font-display); font-weight: 380;
  font-size: var(--step-3); line-height: 1;
  font-variation-settings: "opsz" 144;
}
.proof__lbl { font-size: var(--step--2); color: var(--slate); margin-top: 4px; letter-spacing: 0.02em; }
@media (max-width: 760px) { .proof { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }

/* ---------- Avis cards ---------- */
.review {
  background: var(--white); border-radius: var(--r-4);
  padding: var(--sp-5); border: 1px solid var(--fog);
  display: grid; gap: var(--sp-3);
}
.review__head { display: flex; align-items: center; gap: var(--sp-3); }
.review__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember-soft), var(--bronze));
  color: var(--ink); display: grid; place-items: center;
  font-weight: 600; font-family: var(--font-display);
}
.review__quote { font-family: var(--font-display); font-weight: 380; font-size: var(--step-1); line-height: 1.4; }
.review__meta { font-size: var(--step--2); color: var(--slate); }

/* ---------- Cartes catégorie / activité ---------- */
.cat-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--white); border-radius: var(--r-4);
  padding: var(--sp-5); min-height: 168px;
  border: 1px solid rgba(14,27,38,.06); box-shadow: var(--sh-1);
  transition: transform .2s, box-shadow .25s, border-color .2s;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: rgba(14,27,38,.14); }
.cat-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--mist); display: grid; place-items: center;
  color: var(--ember-deep);
}
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card__title { font-family: var(--font-display); font-weight: 460; font-size: var(--step-1); }
.cat-card__count { font-size: var(--step--2); color: var(--slate); margin-top: 4px; }

/* ---------- Pro card (annuaire) ---------- */
.pro-card {
  display: grid; grid-template-columns: 88px 1fr auto;
  gap: var(--sp-5);
  background: var(--white); padding: var(--sp-5); border-radius: var(--r-4);
  border: 1px solid var(--fog);
}
.pro-card__logo {
  width: 88px; height: 88px; border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); font-weight: 460;
}
.pro-card__name { font-family: var(--font-display); font-weight: 480; font-size: var(--step-2); }
.pro-card__meta { font-size: var(--step--1); color: var(--slate); display: flex; flex-wrap: wrap; gap: 12px 18px; }
.pro-card__meta strong { color: var(--ink); font-weight: 600; }
.pro-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-card__cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 180px; }
@media (max-width: 760px) {
  .pro-card { grid-template-columns: 64px 1fr; }
  .pro-card__logo { width: 64px; height: 64px; }
  .pro-card__cta { grid-column: 1 / -1; align-items: stretch; }
}

/* ---------- Native ad block ---------- */
.ad-native {
  background: linear-gradient(135deg, #122335 0%, #0E1B26 60%, #08121A 100%);
  color: var(--paper);
  border-radius: var(--r-4);
  padding: var(--sp-6);
  position: relative; overflow: hidden;
  border: 1px solid rgba(244,236,223,0.08);
}
.ad-native::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226,105,60,.35), transparent 70%);
  pointer-events: none;
}
.ad-native__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ember); opacity: .85;
}
.ad-native__title {
  font-family: var(--font-display); font-weight: 380;
  font-size: var(--step-3); line-height: 1.1; margin-top: var(--sp-2);
  font-variation-settings: "opsz" 96;
}
.ad-native__body { color: rgba(244,236,223,.78); margin-top: var(--sp-3); max-width: 46ch; }
.ad-native--paper {
  background: var(--paper-2); color: var(--ink);
  border-color: var(--fog);
}
.ad-native--paper .ad-native__title, .ad-native--paper .ad-native__label { color: var(--ink); }
.ad-native--paper .ad-native__label { color: var(--ember-deep); }
.ad-native--paper .ad-native__body { color: var(--slate); }
.ad-native--paper::after {
  background: radial-gradient(closest-side, rgba(226,105,60,.18), transparent 70%);
}

/* ---------- Hero principal ---------- */
.hero {
  position: relative;
  padding: var(--sp-8) 0 var(--sp-9);
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,27,38,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,27,38,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-9);
  align-items: start;
}
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.4rem, 1.5rem + 4.5vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.hero__title em {
  font-style: italic; font-weight: 360;
  color: var(--ember-deep);
  font-variation-settings: "opsz" 144;
}
.hero__sub {
  margin-top: var(--sp-5);
  font-size: var(--step-1); line-height: 1.55;
  color: var(--ink); opacity: .78; max-width: 50ch;
}
.hero__bullets {
  margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3);
}
.hero__bullet {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px; background: var(--white);
  border-radius: var(--r-pill); border: 1px solid var(--fog);
  font-size: var(--step--1); font-weight: 500;
}
.hero__bullet svg { width: 14px; height: 14px; color: var(--moss); }

/* Form card flottante */
.qform {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(14,27,38,0.08);
  box-shadow: var(--sh-card);
  padding: 26px;
}
.qform__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-4);
}
.qform__steps {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate);
}
.qform__steps b { color: var(--ink); }
.qform__title {
  font-family: var(--font-display); font-weight: 420;
  font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.012em;
  margin-bottom: var(--sp-2);
}
.qform__desc { font-size: var(--step--1); color: var(--slate); margin-bottom: var(--sp-5); }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 540px) { .qform__row { grid-template-columns: 1fr; } }
.qform__foot {
  margin-top: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  font-size: var(--step--2); color: var(--slate);
}
.qform__hand {
  position: absolute; top: -14px; left: -14px;
  background: var(--ember); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(186,78,37,.6);
}

/* Replies floating cards autour du form */
.reply-stack { position: relative; margin-top: var(--sp-7); }
.reply {
  position: absolute; background: var(--white);
  border-radius: 14px; padding: 10px 14px;
  border: 1px solid rgba(14,27,38,.06);
  box-shadow: 0 18px 36px -18px rgba(14,27,38,.25);
  display: flex; align-items: center; gap: 10px;
  font-size: var(--step--2);
}
.reply__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 3px rgba(46,74,53,.18); }

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6); align-items: start;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 50px;
  border-top: 1.5px dashed rgba(14,27,38,0.18);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  background: var(--paper);
  padding: var(--sp-5); border-radius: var(--r-4);
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ---------- Page hero variantes ---------- */
.phero { padding: var(--sp-8) 0 var(--sp-7); position: relative; }
.phero__crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: var(--step--2); color: var(--slate); margin-bottom: var(--sp-3);
}
.phero__crumb a { color: var(--slate); }
.phero__crumb a:hover { color: var(--ink); }

/* ---------- Filter bar ---------- */
.filter-bar {
  background: var(--white); padding: var(--sp-4); border-radius: var(--r-4);
  border: 1px solid var(--fog); display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: end;
}
.filter-bar .field { min-width: 180px; }

/* ---------- Tableaux prix ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-3); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--fog); font-size: var(--step--1); }
.price-table th { background: var(--mist); font-weight: 600; font-size: var(--step--2); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.price-table tr:last-child td { border-bottom: none; }
.price-table .price { font-family: var(--font-display); font-weight: 460; }

/* ---------- TOC sticky ---------- */
.toc {
  position: sticky; top: 92px;
  background: var(--white); border: 1px solid var(--fog);
  border-radius: var(--r-4); padding: var(--sp-5);
}
.toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 var(--sp-3); font-weight: 600; }
.toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--mist); font-size: var(--step--1); color: var(--ink); }
.toc a:hover { color: var(--ember-deep); }
.toc a:last-child { border-bottom: none; }

/* ---------- Article prose ---------- */
.prose { font-size: var(--step-0); line-height: 1.7; color: var(--ink); }
.prose h2 { font-family: var(--font-display); font-weight: 420; font-size: var(--step-3); margin: var(--sp-7) 0 var(--sp-3); letter-spacing: -0.012em; }
.prose h3 { font-family: var(--font-display); font-weight: 460; font-size: var(--step-2); margin: var(--sp-6) 0 var(--sp-3); }
.prose p { margin: 0 0 var(--sp-4); }
.prose ul.bullet { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.prose ul.bullet li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.prose ul.bullet li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 1px; background: var(--ember); }
.prose blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--ember);
  background: var(--paper-2); border-radius: 0 var(--r-3) var(--r-3) 0;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-1);
}

/* ---------- Faq ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--white); border: 1px solid var(--fog);
  border-radius: var(--r-3); padding: var(--sp-4) var(--sp-5);
}
.faq summary {
  font-family: var(--font-display); font-weight: 460; font-size: var(--step-1);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: var(--step-2); color: var(--ember); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--sp-3) 0 0; color: var(--slate); }

/* ---------- Listes inline (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: var(--white); border: 1px solid var(--fog);
  border-radius: var(--r-pill); font-size: var(--step--1); font-weight: 500;
  transition: background .15s, border-color .15s;
}
.chip:hover { background: var(--paper-2); border-color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: var(--sp-7); }
.pagination a, .pagination span {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--fog);
  font-weight: 500;
}
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Pro hero (fiche entreprise) ---------- */
.pro-hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: var(--sp-8) 0 var(--sp-7);
  border-bottom: 1px solid var(--fog);
}
.pro-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-7); align-items: start; }
@media (max-width: 980px) { .pro-hero__grid { grid-template-columns: 1fr; } }
.pro-hero__logo {
  width: 96px; height: 96px; border-radius: 18px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--paper);
  display: grid; place-items: center; font-family: var(--font-display); font-size: var(--step-3); font-weight: 380;
  box-shadow: var(--sh-3);
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: var(--sp-3);
}
.gallery > :nth-child(1) { grid-row: 1 / 3; }
.gallery > div {
  border-radius: var(--r-3);
  background-size: cover; background-position: center;
  background-color: var(--paper-3);
  position: relative; overflow: hidden;
}
.gallery .ph {
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  display: grid; place-items: center;
  color: var(--slate); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }
  .gallery > :nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
}

/* ---------- Petits utilitaires layout ---------- */
.row-7 { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-7); align-items: start; }
@media (max-width: 980px) { .row-7 { grid-template-columns: 1fr; } }
.row-aside { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-7); align-items: start; }
@media (max-width: 980px) { .row-aside { grid-template-columns: 1fr; } }

/* ---------- Mobile menu (light) ---------- */
.menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--fog); }
@media (min-width: 980px) { .menu-toggle { display: none; } }

/* ---------- Petites annotations ---------- */
.annot {
  position: absolute; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep);
}

/* ---------- Banner inline ---------- */
.bandeau {
  background: var(--ink); color: var(--paper);
  padding: 10px var(--sp-5); text-align: center;
  font-size: var(--step--2); letter-spacing: .02em;
}
.bandeau b { color: var(--ember); }
