/* ============================================================
   Domivae — Site public (marketing). Feuille AUTONOME.
   Ne charge PAS app.css → zéro collision (.hero/.btn/.section).
   Portée depuis le front livré (standalone) le 2026-07-01.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Urbanist:wght@300;400;500;600;700&display=swap");

/* ============================================================
   Domivae — Colors & Type
   Single source of truth for brand tokens. Import before app CSS.
   ============================================================ */

/* ---------- Fonts ---------- */

:root {
  /* ---------- Brand palette (saturated) ---------- */
  --color-navy:         #011D2D;  /* Bleu marine   — professionalism, trust */
  --color-teal:         #007E85;  /* Bleu canard   — elegance, modernity    */
  --color-coral:        #F5945D;  /* Orange corail — warmth, creativity     */
  --color-mustard:      #F7B441;  /* Jaune moutarde — energy, optimism      */

  /* ---------- Brand palette (pastel) ---------- */
  --color-peach:        #FBE8DA;  /* Pêche pastel  — harmony, warmth        */
  --color-sky:          #E3F5F5;  /* Bleu pastel   — softness, access       */
  --color-offwhite:     #F2F2F2;  /* Blanc neutre  — balance, legibility    */

  /* ---------- Digital / neutrals (a11y) ---------- */
  --color-charcoal:     #1E1E1E;  /* Noir charbon  — max contrast text      */
  --color-white:        #FBFBFB;  /* Blanc presque pur — base surface       */
  --color-gray-500:     #717171;  /* secondary text / hierarchy             */
  --color-gray-300:     #D6D6D6;  /* borders, dividers (derived)            */
  --color-gray-200:     #EAEAEA;  /* subtle fills (derived)                 */

  /* ---------- Semantic text ---------- */
  --fg-1:               var(--color-charcoal);  /* primary text           */
  --fg-2:               var(--color-gray-500);  /* secondary / meta text  */
  --fg-inverse:         var(--color-white);
  --fg-brand:           var(--color-navy);      /* headings over light    */
  --fg-accent:          var(--color-teal);      /* links, highlights      */

  /* ---------- Semantic surfaces ---------- */
  --bg-0:               var(--color-white);     /* canvas                 */
  --bg-1:               var(--color-offwhite);  /* subtle surface         */
  --bg-2:               var(--color-sky);       /* soft accent surface    */
  --bg-3:               var(--color-peach);     /* soft accent surface    */
  --bg-brand:           var(--color-navy);      /* inverted blocks        */
  --bg-accent:          var(--color-teal);

  /* ---------- Borders ---------- */
  --border-subtle:      var(--color-gray-200);
  --border-default:     var(--color-gray-300);
  --border-strong:      var(--color-charcoal);

  /* ---------- Trust / badge semantics (Domivae core concept) ---------- */
  --trust-verified:     var(--color-teal);
  --trust-rising:       var(--color-mustard);
  --trust-new:          var(--color-coral);
  --trust-expert:       var(--color-navy);

  /* ---------- Typography families ---------- */
  --font-display: 'Quicksand', 'Trebuchet MS', system-ui, sans-serif;
  --font-body:    'Urbanist', 'Helvetica Neue', system-ui, sans-serif;

  /* ---------- Type scale (Urbanist body rhythm, Quicksand for display) ---------- */
  --fs-display-1: 64px;
  --fs-display-2: 48px;
  --fs-h1:        36px;
  --fs-h2:        28px;
  --fs-h3:        22px;
  --fs-h4:        18px;
  --fs-body:      16px;
  --fs-small:     14px;
  --fs-caption:   12px;

  --lh-tight:     1.1;   /* @kind font */
  --lh-snug:      1.25;  /* @kind font */
  --lh-normal:    1.5;   /* @kind font */
  --lh-loose:     1.65;  /* @kind font */

  --ls-display:  -0.01em;
  --ls-tight:    -0.005em;
  --ls-normal:    0;       /* @kind font */
  --ls-caps:      0.08em;

  /* ---------- Spacing ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  /* ---------- Radii (rounded — echoes the logo loop) ---------- */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;

  /* ---------- Elevation ---------- */
  --shadow-sm: 0 1px 2px rgba(1, 29, 45, 0.06), 0 1px 1px rgba(1, 29, 45, 0.04);
  --shadow-md: 0 6px 16px rgba(1, 29, 45, 0.08), 0 2px 4px rgba(1, 29, 45, 0.04);
  --shadow-lg: 0 18px 40px rgba(1, 29, 45, 0.10), 0 4px 8px rgba(1, 29, 45, 0.05);
  --shadow-focus: 0 0 0 3px rgba(0, 126, 133, 0.28);

  /* ---------- Motion ---------- */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);  /* @kind other */
  --ease-emphatic: cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --dur-fast:   120ms;  /* @kind other */
  --dur-base:   200ms;  /* @kind other */
  --dur-slow:   320ms;  /* @kind other */
}

/* ---------- Base ---------- */
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Semantic type elements ---------- */
h1, h2, h3, h4, .display-1, .display-2 {
  font-family: var(--font-display);
  color: var(--fg-brand);
  margin: 0;
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}
.display-1 { font-size: var(--fs-display-1); font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
.display-2 { font-size: var(--fs-display-2); font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-snug); }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-snug); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: var(--lh-snug); }

p, .body { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--fg-1); margin: 0; text-wrap: pretty; }
.small   { font-size: var(--fs-small); line-height: var(--lh-normal); color: var(--fg-2); }
.caption { font-size: var(--fs-caption); line-height: var(--lh-normal); color: var(--fg-2); letter-spacing: var(--ls-caps); text-transform: uppercase; }

a { color: var(--fg-accent); text-decoration: none; transition: opacity var(--dur-fast) var(--ease-standard); }
a:hover { opacity: 0.75; }

strong, b { font-weight: 600; }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; }
  body { background: var(--bg-0); color: var(--fg-1); font-family: var(--font-body); overflow-x: hidden; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: rgba(1,29,45,0.16); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(1,29,45,0.28); }
  a { text-decoration: none; color: inherit; }
  .lu { width: 20px; height: 20px; stroke-width: 1.8; flex-shrink: 0; }

  /* ============ NAV + FOOTER (chrome public) ============
     Déplacés dans site-chrome.css, scopés .pubchrome → source UNIQUE partagée
     avec layouts/public.php (partials/public_{nav,footer}.php). Ne plus styler
     .nav / .foot ici : ce layout charge désormais aussi site-chrome.css. (#361)
     Les .btn* ci-dessous restent (utilisés par le CORPS de l'accueil, hors chrome). */

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-md); transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); white-space: nowrap; }
  .btn .lu { width: 18px; height: 18px; stroke-width: 2; }
  .btn:active { transform: scale(0.98); }
  .btn-primary { padding: 12px 24px; font-size: 15px; background: var(--color-teal); color: #fff; box-shadow: 0 6px 16px rgba(0,126,133,0.22); }
  .btn-primary:hover { background: #00696f; }
  .btn-ghost { padding: 12px 24px; font-size: 15px; background: transparent; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--border-default); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--color-navy); background: rgba(1,29,45,0.03); }
  .btn-lg { padding: 16px 34px; font-size: 16.5px; border-radius: var(--radius-md); }
  .btn-on-dark { background: #FBF3EA; color: var(--color-navy); box-shadow: 0 8px 22px rgba(1,29,45,0.20); }
  .btn-on-dark:hover { background: #ffffff; }
  .btn-ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); }
  .btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

  /* micro-reassurance under CTAs */
  .reassure { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--fg-2); font-weight: 500; }
  .reassure .lu { width: 15px; height: 15px; color: var(--color-teal); }
  .reassure.on-dark { color: rgba(255,255,255,0.72); }
  .reassure.on-dark .lu { color: var(--color-coral); }

  /* ============ LAYOUT ============ */
  .section { position: relative; padding: 96px 40px; overflow: hidden; }
  .wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
  .narrow { max-width: 780px; }

  /* ---- Ambiance tokens (warm default) ---- */
  body {
    --soft-bg: #FBF3EA;
    --hero-bg: #007E85; --hero-fg: #ffffff; --hero-sub: rgba(255,255,255,0.86); --hero-eyebrow: var(--color-coral);
    --loc-bg: #FCEFE4; --loc-head: var(--color-navy); --loc-lead: #6a625b; --loc-eyebrow: var(--color-teal); --loc-loop: #E08A4E;
    --agc-bg: #E3F5F5; --agc-head: var(--color-navy); --agc-lead: #4f5d5e; --agc-eyebrow: var(--color-teal); --agc-loop: var(--color-teal);
  }
  body.amb-signature {
    --soft-bg: var(--bg-1);
    --hero-bg: var(--bg-brand); --hero-fg: #fff; --hero-sub: rgba(255,255,255,0.80); --hero-eyebrow: var(--color-coral);
    --loc-bg: var(--bg-brand); --loc-head: #fff; --loc-lead: rgba(255,255,255,0.78); --loc-eyebrow: var(--color-coral); --loc-loop: var(--color-sky);
    --agc-bg: var(--bg-brand); --agc-head: #fff; --agc-lead: rgba(255,255,255,0.78); --agc-eyebrow: var(--color-coral); --agc-loop: var(--color-mustard);
  }

  .s-white  { background: var(--bg-0); }
  .s-off    { background: var(--soft-bg); }
  .s-sky    { background: var(--bg-2); }
  .s-peach  { background: var(--bg-3); }
  .s-navy   { background: var(--bg-brand); }
  .s-navy, .s-navy p, .s-navy .lead { color: rgba(255,255,255,0.86); }
  .s-navy h1, .s-navy h2, .s-navy h3, .s-navy h4 { color: #fff; }

  /* ---- Profile bands (themable light/dark) ---- */
  .band-loc { background: var(--loc-bg); }
  .band-loc .eyebrow { color: var(--loc-eyebrow); }
  .band-loc h2.title, .band-loc .kicker { color: var(--loc-head); }
  .band-loc .lead { color: var(--loc-lead); }
  .band-loc .lead strong { color: var(--loc-head); }
  .band-loc .reassure { color: var(--loc-lead); }
  .band-loc .reassure .lu { color: var(--loc-eyebrow); }
  .band-agc { background: var(--agc-bg); }
  .band-agc .eyebrow { color: var(--agc-eyebrow); }
  .band-agc h2.title, .band-agc .kicker { color: var(--agc-head); }
  .band-agc .lead { color: var(--agc-lead); }
  .band-agc .lead strong { color: var(--agc-head); }
  .band-agc .reassure { color: var(--agc-lead); }
  .band-agc .reassure .lu { color: var(--agc-eyebrow); }

  /* ---- Ambiance switcher ---- */
  .amb-switch { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 6px; background: rgba(251,251,251,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border-subtle); border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: var(--shadow-md); }
  .amb-switch .amb-label { font-size: 12px; font-weight: 600; color: var(--fg-2); margin-right: 2px; }
  .amb-switch button { border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: transparent; color: var(--color-navy); transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard); }
  .amb-switch button:hover { background: rgba(0,126,133,0.10); }
  .amb-switch button.is-on { background: var(--color-teal); color: #fff; }
  @media (max-width: 600px) { .amb-switch { left: 12px; bottom: 12px; padding: 5px 6px 5px 10px; } .amb-switch .amb-label { display: none; } }

  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 20px; }
  .eyebrow .lu { width: 15px; height: 15px; stroke-width: 2.2; }
  .eyebrow.warm { color: #c4622d; }
  .eyebrow.on-dark { color: var(--color-coral); }

  .kicker { font-family: var(--font-display); font-weight: 700; color: var(--color-navy); letter-spacing: -0.01em; line-height: 1.12; }
  h2.title { font-size: 40px; font-weight: 700; font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; max-width: 20ch; }
  .lead { font-size: 19px; line-height: 1.6; color: var(--fg-2); margin-top: 20px; max-width: 58ch; }
  .lead strong { color: var(--fg-1); font-weight: 600; }
  .s-navy .lead { color: rgba(255,255,255,0.78); }
  .s-navy .lead strong { color: #fff; }

  /* decorative loops */
  .loop { position: absolute; pointer-events: none; z-index: 1; }

  /* ============ HERO ============ */
  .hero { padding: 44px 40px 56px; background: var(--hero-bg); position: relative; overflow: hidden; transition: background var(--dur-slow) var(--ease-standard); }
  .hero .wrap { max-width: 1020px; text-align: center; }
  .hero .eyebrow { color: var(--hero-eyebrow); justify-content: center; }
  .hero h1 { font-family: var(--font-display); font-weight: 700; color: var(--hero-fg); font-size: 54px; line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin: 0 auto; }
  .hero .sub { font-size: 20px; line-height: 1.6; color: var(--hero-sub); max-width: 60ch; margin: 18px auto 0; }
  .hero .sub strong { color: var(--hero-fg); font-weight: 600; }
  .doors3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
  .door-btn {
    display: inline-flex; align-items: center; gap: 11px; padding: 15px 24px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06); color: #fff; font-weight: 600; font-size: 16px;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.18); transition: all var(--dur-base) var(--ease-standard);
  }
  .door-btn .ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
  .door-btn .ico .lu { width: 19px; height: 19px; stroke-width: 2; }
  .door-btn.d-t .ico { background: var(--color-sky); color: var(--color-teal); }
  .door-btn.d-o .ico { background: var(--color-peach); color: #c4622d; }
  .door-btn.d-p .ico { background: rgba(247,180,65,0.22); color: var(--color-mustard); }
  .door-btn:hover { background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); transform: translateY(-2px); }
  .hero .cta-row { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

  /* ============ PILLARS ============ */
  .head-block { max-width: 760px; }
  .head-block.center { margin: 0 auto; text-align: center; }
  .head-block.center .lead { margin-left: auto; margin-right: auto; }
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .pillar {
    background: var(--bg-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    padding: 32px 28px; box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
  }
  .pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .pillar .ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
  .pillar .ic .lu { width: 25px; height: 25px; stroke-width: 1.9; }
  .ic-teal { background: var(--color-sky); color: var(--color-teal); }
  .ic-coral { background: var(--color-peach); color: #c4622d; }
  .ic-mustard { background: rgba(247,180,65,0.18); color: #c98a09; }
  .ic-navy { background: rgba(1,29,45,0.07); color: var(--color-navy); }
  .pillar h3 { font-size: 20px; margin-bottom: 10px; }
  .pillar p { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }

  /* ============ DOORS (with proof) ============ */
  .doorgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .doorcard {
    display: flex; flex-direction: column; background: var(--bg-0); border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle); padding: 34px 30px; box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
  }
  .doorcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .doorcard .top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
  .doorcard .ic { width: 54px; height: 54px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; }
  .doorcard .ic .lu { width: 26px; height: 26px; stroke-width: 1.9; }
  .doorcard h3 { font-size: 22px; }
  .doorcard p { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); flex: 1; }
  .doorcard .go { margin-top: 26px; }
  .doorcard .go .btn { width: 100%; }

  /* ============ BENEFITS ============ */
  .benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; margin-top: 52px; }
  .benefit { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-0); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
  .benefit .ic { width: 50px; height: 50px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .benefit .ic .lu { width: 24px; height: 24px; stroke-width: 1.9; }
  .benefit h4 { font-size: 18px; margin-bottom: 8px; }
  .benefit p { font-size: 15px; line-height: 1.58; color: var(--fg-2); }

  /* bandeau citation (sous les cartes « garder la main / confier ») */
  .quote-band { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 13px; text-align: center; background: var(--bg-2); border-radius: var(--radius-lg); padding: 20px 28px; }
  .quote-band .lu { color: var(--color-teal); width: 24px; height: 24px; flex-shrink: 0; }
  .quote-band span { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--color-navy); }

  /* quote / empathy block */
  .empathy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  .empathy .pain { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.4; color: var(--color-navy); }
  .empathy .pain span { color: var(--fg-2); font-family: var(--font-body); font-weight: 400; font-size: 18px; display: block; margin-top: 18px; line-height: 1.6; }
  .empathy .answer { background: var(--bg-0); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border-subtle); }
  .empathy .answer .lu { color: var(--color-teal); width: 30px; height: 30px; margin-bottom: 16px; }
  .empathy .answer p { font-size: 17px; line-height: 1.6; }
  .empathy .answer p strong { color: var(--color-navy); font-weight: 600; }

  /* ============ STEPS (comment ça marche) ============ */
  .steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .stepcol { background: var(--bg-0); border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); padding: 32px 28px 34px; box-shadow: var(--shadow-sm); }
  .stepcol .head { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--border-subtle); }
  .stepcol .head .ic { width: 46px; height: 46px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; }
  .stepcol .head .ic .lu { width: 23px; height: 23px; }
  .stepcol .head h3 { font-size: 20px; }
  .step { display: flex; gap: 16px; padding: 18px 0; }
  .step + .step { border-top: 1px dashed var(--border-subtle); }
  .step .n { width: 30px; height: 30px; border-radius: 999px; background: var(--color-navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .step p { font-size: 15.5px; line-height: 1.55; color: var(--fg-1); font-weight: 500; padding-top: 3px; }

  /* ============ MANIFESTO ============ */
  /* Dégradé repris du bandeau du haut (teal) fondu vers le navy de marque. */
  .section.s-navy.manifesto { background: linear-gradient(160deg, #007E85 0%, #005F65 32%, #011D2D 100%); }
  .manifesto .wrap { max-width: 820px; }
  .manifesto h2.title { font-size: 46px; max-width: 22ch; }
  .manifesto .body-copy { margin-top: 32px; }
  .manifesto .body-copy p { font-size: 19px; line-height: 1.75; color: rgba(255,255,255,0.82); margin-bottom: 22px; }
  .manifesto .body-copy p strong { color: #fff; font-weight: 600; }
  .manifesto .body-copy .lift { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.4; color: var(--color-coral); border-left: 3px solid var(--color-coral); padding-left: 24px; margin: 36px 0; }

  /* ============ PRICING ============ */
  /* minmax(0,1fr) et pas 1fr : sinon le contenu le plus long élargit sa colonne
     et les 4 cartes n'ont pas la même largeur. */
  .pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; align-items: stretch; }
  .plan { position: relative; display: flex; flex-direction: column; background: var(--bg-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 30px 26px 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
  .plan:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .plan.featured { border: 1.5px solid var(--color-teal); box-shadow: var(--shadow-md); }
  .plan .tag { position: absolute; top: -13px; left: 26px; background: var(--color-teal); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; }
  .plan .pname { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--color-navy); }
  .plan .paud { font-size: 13.5px; color: var(--fg-2); margin-top: 4px; min-height: 58px; }
  .plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
  .plan .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--color-navy); letter-spacing: -0.02em; }
  .plan .price .per { font-size: 14px; color: var(--fg-2); font-weight: 500; }
  .plan .featswrap { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .plan .feats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
  .plan .feats li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--fg-1); overflow-wrap: anywhere; }
  .plan .feats li .lu { width: 17px; height: 17px; color: var(--color-teal); stroke-width: 2.4; margin-top: 2px; flex: none; }
  /* Dépliant « Voir plus » : au-delà de 5 avantages, le reste est replié. */
  /* flex: none sur les enfants : dans la carte en subgrid la piste a une hauteur
     imposée, sans ça le dépliant serait écrasé à 0 au lieu de faire grandir la carte. */
  .plan .featswrap > * { flex: none; }
  .plan .feats-collapse { overflow: hidden; max-height: 0; opacity: 0; transition: max-height var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard); }
  /* Plafond large à dessein : les avantages sont pilotés en Boutique, un cap
     trop juste tronquerait la liste en silence dès qu'on en ajoute. */
  .plan .feats-collapse.open { max-height: 3000px; opacity: 1; }
  .plan .feats-collapse .feats { margin-top: 12px; }
  .plan .feats-toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 0; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--color-teal); }
  .plan .feats-toggle:hover .ft-label { text-decoration: underline; }
  .plan .feats-toggle .lu { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-standard); }
  .plan .feats-toggle.open .lu { transform: rotate(180deg); }
  .plan .feats-fill { flex: 1 1 auto; min-height: 8px; }
  .plan .pcta { margin-top: 26px; }
  .plan .pcta .btn { width: 100%; }
  .plan .micro { margin-top: 14px; text-align: center; font-size: 12px; color: var(--fg-2); min-height: 30px; }

  /* Alignement ligne à ligne des cartes (nom / desc / prix / features / CTA / micro).
     Sans ça, une description plus longue décale le prix d'une carte à l'autre.
     Les min-height ci-dessus restent le repli pour les navigateurs sans subgrid. */
  @supports (grid-template-rows: subgrid) {
    .pricing { grid-template-rows: auto auto auto 1fr auto auto; }
    .plan {
      grid-row: span 6;
      display: grid;
      grid-template-rows: subgrid;
      /* minmax(0,1fr) OBLIGATOIRE : sans colonne explicite, la colonne implicite
         est dimensionnée en max-content → le texte long déborde du cadre. */
      grid-template-columns: minmax(0, 1fr);
      row-gap: 0;                 /* n'hérite pas du gap de .pricing */
    }
    .plan .paud, .plan .micro { min-height: 0; }
  }

  /* ============ FINAL / ANNONCES banner ============ */
  .cta-final .wrap { max-width: 860px; text-align: center; }
  .cta-final h2.title { max-width: 22ch; margin: 0 auto; }
  .cta-final .lead { margin: 20px auto 0; }
  .cta-final .cta-row { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

  .listing-banner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
  .listing-banner .visual { position: relative; height: 320px; border-radius: var(--radius-2xl); background: var(--color-navy); overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .listing-banner .visual .fake { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 78%; }
  .listing-banner .visual .fake .mini { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); height: 108px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
  .listing-banner .visual .fake .mini .bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.18); }
  .listing-banner .visual .fake .mini .bar.w1 { width: 70%; } .listing-banner .visual .fake .mini .bar.w2 { width: 45%; }
  .listing-banner .visual .fake .mini .pill { align-self: flex-start; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--color-navy); }
  .listing-banner .visual .fake .mini .pill.v { background: var(--color-teal); color: #fff; }
  .listing-banner .visual .fake .mini .pill.n { background: var(--color-coral); }

  /* Footer (chrome) → site-chrome.css (.pubchrome .foot). Cf. bloc NAV + FOOTER plus haut. (#361) */

  /* section anchor offset for sticky nav */
  section[id], div[id].anchor { scroll-margin-top: 78px; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1040px) {
    .pillars, .doorgrid, .steps3, .pricing { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .empathy, .listing-banner { grid-template-columns: 1fr; gap: 32px; }
  }
  @media (max-width: 760px) {
    .section { padding: 64px 22px; }
    .hero { padding: 84px 22px 72px; }
    .hero h1 { font-size: 40px; }
    .hero .sub { font-size: 17px; }
    h2.title, .manifesto h2.title { font-size: 30px; }
    .lead { font-size: 17px; }
    .pillars, .doorgrid, .benefits, .steps3, .pricing { grid-template-columns: 1fr; }
    .door-btn { width: 100%; }
    .benefit { flex-direction: column; gap: 14px; padding: 22px; }
    .quote-band { flex-direction: column; gap: 10px; padding: 18px 20px; }
    .quote-band span { font-size: 16.5px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

