    :root {
      --brand: #2F4A3A;
      --brand-mid: #3D604C;
      --brand-soft: #DFE8E1;
      --brand-lighter: #EFF5F1;
      --cream: #FAF7F2;
      --cream-2: #F4EFE7;
      --cream-3: #EDE6D6;
      --ink: #21382D;
      --muted: #607367;
      --border: #E5E1D9;
      --border-soft: #EDE7DA;
      --caramel: #A5680A;
      --caramel-soft: #FBEDD2;
      --plum: #6B4B8A;
      --sky: #2F6AA5;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      color: var(--ink);
      background: var(--cream);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    }
    img { max-width: 100%; display: block; }
    .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
    .container-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

    /* Nav */
    nav {
      position: sticky; top: 0; z-index: 50;
      background: rgba(250, 247, 242, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
    .nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: var(--brand); letter-spacing: -0.02em; }
    .nav-brand img { height: 32px; width: 32px; border-radius: 8px; }
    .nav-links { display: flex; gap: 4px; align-items: center; }
    .nav-links a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background 0.15s ease; }
    .nav-links a:hover { background: var(--brand-soft); }
    .nav-links a.cta { background: var(--brand); color: #fff; padding: 10px 18px; margin-left: 6px; }
    .nav-links a.cta:hover { background: var(--brand-mid); }
    /* ================================================================
       Burger menu · mobile ≤ 820 px · le mega-panel devient un drawer
       ============================================================== */
    .nav-burger {
      display: none;
      width: 40px; height: 40px;
      background: transparent;
      border: 0;
      cursor: pointer;
      padding: 0;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      transition: background 0.15s ease;
      margin-left: 8px;
    }
    .nav-burger:hover { background: var(--brand-soft); }
    .nav-burger .bars {
      position: relative;
      width: 20px; height: 14px;
      display: inline-block;
    }
    .nav-burger .bars::before,
    .nav-burger .bars::after,
    .nav-burger .bars > span {
      content: '';
      position: absolute;
      left: 0; right: 0;
      height: 2px;
      background: var(--brand);
      border-radius: 2px;
      transition: transform 0.25s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.15s ease;
    }
    .nav-burger .bars::before { top: 0; }
    .nav-burger .bars > span  { top: 6px; }
    .nav-burger .bars::after  { bottom: 0; }
    .nav-burger[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] .bars > span  { opacity: 0; }
    .nav-burger[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

    @media (max-width: 820px) {
      .nav-burger { display: inline-flex; }
      /* Cache tous les liens de la nav (drawer prend le relais, CTA aussi dedans) */
      .nav-links > a { display: none; }
    }
    /* Sur desktop les liens du drawer extra sont cachés · les règles mobile du
       mega-panel sont déclarées APRÈS le bloc desktop plus bas (cascade). */
    .mega-drawer-extra { display: none; }

    /* ================================================================
       PHONE MOCKUP · frame stylée iPhone avec écran interactif
       Utilisé dans le hero et à côté de chaque feature block clé.
       ============================================================== */
    .phone {
      position: relative;
      width: 300px;
      height: 618px;
      background: #0f0f10;
      border-radius: 44px;
      padding: 14px;
      box-shadow:
        0 32px 60px -20px rgba(47, 74, 58, 0.35),
        0 12px 24px -10px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    }
    .phone::before {
      content: '';
      position: absolute;
      top: 22px; left: 50%; transform: translateX(-50%);
      width: 90px; height: 26px;
      background: #0f0f10;
      border-radius: 999px;
      z-index: 2;
    }
    .phone-screen {
      background: var(--cream);
      border-radius: 32px;
      height: 100%;
      overflow: hidden;
      position: relative;
    }
    .phone-statusbar {
      display: flex; justify-content: space-between; align-items: center;
      padding: 14px 22px 0;
      font-size: 11.5px; font-weight: 800; color: var(--ink);
      position: relative; z-index: 3;
    }
    .phone-statusbar-right { display: flex; gap: 4px; align-items: center; }
    .phone-statusbar-icon { width: 14px; height: 8px; background: var(--ink); border-radius: 2px; opacity: 0.7; }
    .phone-header {
      padding: 20px 18px 14px;
      display: flex; align-items: center; gap: 10px;
      border-bottom: 1px solid rgba(0,0,0,0.06);
      background: #fff;
    }
    .phone-header-avatar {
      width: 32px; height: 32px;
      background: var(--brand-soft);
      border-radius: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 16px;
    }
    .phone-header-title { font-size: 14px; font-weight: 900; color: var(--ink); letter-spacing: -0.005em; line-height: 1.15; }
    .phone-header-sub { font-size: 10.5px; color: var(--muted); font-weight: 600; }

    /* ================================================================
       Planning mockup · reproduit l'écran principal Brewteam
       Header + rail Vibes + card TA SEMAINE + banner Brewquizz + bottom nav
       ============================================================== */
    .phone-screen-planning {
      background: var(--cream);
      display: flex; flex-direction: column;
    }
    .plan-header {
      padding: 42px 20px 12px;
      background: var(--cream);
    }
    .plan-header-top {
      display: flex; justify-content: space-between; align-items: flex-start;
      margin-bottom: 8px;
    }
    .plan-header h2 {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-size: 26px; font-weight: 900; color: var(--brand);
      letter-spacing: -0.02em; line-height: 1;
    }
    .plan-header-actions { display: flex; gap: 6px; }
    .plan-icon-btn {
      width: 30px; height: 30px;
      background: var(--brand-lighter);
      border-radius: 999px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 13px;
      position: relative;
    }
    .plan-icon-btn .dot {
      position: absolute; top: 2px; right: 2px;
      width: 8px; height: 8px;
      background: #B54040; border-radius: 50%;
      border: 1.5px solid var(--cream);
    }
    .plan-subtitle {
      font-size: 11px;
      color: var(--muted);
      font-weight: 700;
      letter-spacing: 0.005em;
      line-height: 1.35;
    }
    .plan-vibes {
      padding: 14px 16px 8px;
      background: var(--cream);
    }
    .plan-vibes-title {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-bottom: 10px;
    }
    .plan-vibes-title h3 {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-size: 14px; font-weight: 900; color: var(--brand);
      letter-spacing: -0.005em;
    }
    .plan-vibes-title h3 em {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-style: italic; font-weight: 700;
    }
    .plan-vibes-24h { font-size: 9px; font-weight: 900; letter-spacing: 0.08em; color: var(--muted); }
    .plan-vibes-row {
      display: flex; gap: 12px;
      overflow: hidden;
    }
    .plan-vibes-item { text-align: center; flex-shrink: 0; }
    .plan-vibes-ring {
      width: 46px; height: 46px;
      border-radius: 50%;
      padding: 2px;
      background: linear-gradient(135deg, var(--brand), #6BB088);
      margin: 0 auto 4px;
      position: relative;
    }
    .plan-vibes-ring--seen { background: var(--cream-3); }
    .plan-vibes-ring--none { background: transparent; padding: 0; }
    .plan-vibes-ring--none .plan-vibes-avatar { border: 2px solid var(--cream-3); }
    .plan-vibes-avatar {
      width: 100%; height: 100%;
      border-radius: 50%;
      background: var(--brand-mid);
      display: inline-flex; align-items: center; justify-content: center;
      color: #fff;
      font-size: 14px; font-weight: 900;
      border: 2px solid var(--cream);
    }
    .plan-vibes-name { font-size: 9.5px; font-weight: 800; color: var(--ink); }

    .plan-week {
      margin: 12px 12px 10px;
      background: var(--brand-soft);
      border-radius: 18px;
      padding: 14px;
    }
    .plan-week-tag {
      display: inline-block;
      background: #fff;
      padding: 3px 9px;
      border-radius: 999px;
      font-size: 8.5px; font-weight: 900; letter-spacing: 0.08em;
      color: var(--ink);
      margin-bottom: 8px;
    }
    .plan-week-range {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-size: 18px; font-weight: 900; color: var(--brand);
      letter-spacing: -0.02em;
      margin-bottom: 3px;
    }
    .plan-week-lead {
      font-size: 10px;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .plan-week-card {
      background: #fff;
      border-radius: 12px;
      padding: 10px 12px;
    }
    .plan-week-progress-row {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-bottom: 5px;
    }
    .plan-week-progress-row .lbl { font-size: 10.5px; font-weight: 800; color: var(--ink); }
    .plan-week-progress-row .val { font-size: 12.5px; font-weight: 900; color: var(--brand); }
    .plan-week-progress-bar {
      height: 4px; background: var(--brand-soft); border-radius: 999px;
      margin-bottom: 10px;
      overflow: hidden;
    }
    .plan-week-progress-bar > span {
      display: block; height: 100%;
      background: var(--brand);
      width: 62%;
      border-radius: 999px;
    }
    .plan-week-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
    .plan-stat {
      background: var(--brand-lighter);
      border-radius: 10px;
      padding: 8px 6px;
      text-align: left;
    }
    .plan-stat--caramel { background: var(--caramel-soft); }
    .plan-stat-icon {
      width: 20px; height: 20px;
      background: #fff;
      border-radius: 6px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 10px;
      margin-bottom: 3px;
    }
    .plan-stat-label { font-size: 8.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.01em; }
    .plan-stat-value { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 14px; font-weight: 900; color: var(--ink); line-height: 1; margin-top: 2px; letter-spacing: -0.02em; }
    .plan-stat--caramel .plan-stat-value { color: var(--caramel); }

    .plan-quizz {
      margin: 4px 12px 10px;
      background: var(--brand);
      border-radius: 14px;
      padding: 10px 12px;
      display: flex; align-items: center; gap: 10px;
    }
    .plan-quizz-icon {
      width: 32px; height: 32px;
      background: #fff;
      border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 15px;
      flex-shrink: 0;
    }
    .plan-quizz-body { flex: 1; min-width: 0; }
    .plan-quizz-title { color: #fff; font-size: 12.5px; font-weight: 900; letter-spacing: -0.005em; }
    .plan-quizz-sub { color: rgba(255,255,255,0.75); font-size: 9.5px; font-weight: 700; }
    .plan-quizz-btn {
      background: #fff;
      color: var(--brand);
      font-size: 10px; font-weight: 900;
      padding: 5px 10px;
      border-radius: 999px;
    }

    .plan-nav {
      margin-top: auto;
      background: #fff;
      border-top: 1px solid rgba(0,0,0,0.06);
      display: grid; grid-template-columns: repeat(5, 1fr);
      padding: 8px 0 10px;
    }
    .plan-nav-item {
      text-align: center;
      position: relative;
    }
    .plan-nav-icon { font-size: 15px; margin-bottom: 2px; display: block; }
    .plan-nav-label { font-size: 8.5px; font-weight: 700; color: var(--muted); }
    .plan-nav-item--active .plan-nav-icon { color: var(--brand); }
    .plan-nav-item--active .plan-nav-label { color: var(--brand); font-weight: 900; }
    .plan-nav-badge {
      position: absolute; top: -2px; right: 26%;
      background: #B54040;
      color: #fff;
      font-size: 8px; font-weight: 900;
      padding: 1px 5px;
      border-radius: 999px;
    }
    @media (max-width: 460px) { .plan-nav-badge { right: 18%; } }

    /* Push notification stylisée · flottant au-dessus du hero mockup */
    .push-card {
      position: absolute;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(0,0,0,0.06);
      border-radius: 14px;
      padding: 12px 14px;
      display: flex; gap: 10px; align-items: center;
      box-shadow: 0 12px 30px -8px rgba(0,0,0,0.18);
      width: 230px;
      z-index: 3;
      animation: push-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
    .push-card-icon {
      width: 32px; height: 32px;
      background: var(--brand-lighter);
      border-radius: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 17px;
      flex-shrink: 0;
    }
    .push-card-title { font-size: 12px; font-weight: 900; color: var(--ink); line-height: 1.2; }
    .push-card-sub { font-size: 10.5px; color: var(--muted); line-height: 1.3; margin-top: 1px; }
    @keyframes push-in {
      from { opacity: 0; transform: translateY(-16px) scale(0.9); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      .push-card { animation: none; }
    }

    .hero-mockup {
      position: relative;
      margin-left: auto;
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-mockup { animation: none; }
    }
    .hero-mockup .push-card.top-right { top: -14px; right: -40px; animation-delay: 0.8s; }
    .hero-mockup .push-card.bottom-left { bottom: 40px; left: -60px; animation-delay: 1.4s; }
    @media (max-width: 900px) {
      .hero-mockup .push-card.top-right { right: -8px; }
      .hero-mockup .push-card.bottom-left { left: -8px; }
    }

    /* ================================================================
       BROWSER MOCKUP · frame navigateur stylée, pour illustrer les écrans
       du dashboard web sur les pages fonctionnalités (pas de vraie capture
       d'écran, ni de donnée client réelle · noms d'exemple fictifs).
       ============================================================== */
    .browser-mock {
      max-width: 720px;
      margin: 0 auto;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      box-shadow:
        0 40px 70px -24px rgba(47, 74, 58, 0.28),
        0 14px 28px -12px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    }
    .browser-mock__bar {
      display: flex; align-items: center; gap: 14px;
      padding: 12px 16px;
      background: var(--cream-3);
      border-bottom: 1px solid var(--border);
    }
    .browser-mock__dots { display: flex; gap: 6px; flex-shrink: 0; }
    .browser-mock__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.14); display: block; }
    .browser-mock__url {
      flex: 1; background: #fff; border-radius: 999px; padding: 6px 14px;
      font-size: 11.5px; font-weight: 700; color: var(--muted);
      overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    }
    .browser-mock__body { background: var(--cream); padding: 22px 22px 18px; }

    .miss-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
    .miss-mock-chips { display: flex; gap: 8px; }
    .miss-mock-chip {
      display: flex; align-items: center; gap: 7px;
      background: #fff; border: 1px solid var(--border); border-radius: 999px;
      padding: 5px 14px 5px 5px; font-size: 12.5px; font-weight: 700; color: var(--muted);
    }
    .miss-mock-chip.is-active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
    .miss-mock-chip-av { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 900; }
    .miss-mock-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .miss-mock-title span.ic { font-size: 22px; }
    .miss-mock-title h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 19px; font-weight: 900; color: var(--ink); letter-spacing: -0.01em; }

    .miss-mock-grid { display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: start; }
    @media (max-width: 640px) { .miss-mock-grid { grid-template-columns: 1fr; } }

    .miss-mock-add { display: flex; gap: 8px; margin-bottom: 16px; }
    .miss-mock-add .fld { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: var(--muted); }
    .miss-mock-add .pill { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
    .miss-mock-add .btn { background: var(--brand); color: #fff; border-radius: 10px; padding: 9px 16px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }

    .miss-mock-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
    .miss-mock-tabs span { font-size: 13px; font-weight: 800; color: var(--muted); padding-bottom: 8px; display: flex; align-items: center; gap: 6px; }
    .miss-mock-tabs span.is-active { color: var(--brand); border-bottom: 2px solid var(--brand); }
    .miss-mock-tabs span em { font-style: normal; background: var(--cream-3); color: var(--muted); font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
    .miss-mock-tabs span.is-active em { background: var(--brand-soft); color: var(--brand); }

    .miss-mock-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 4px; }
    .miss-mock-row .cb { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--border); flex-shrink: 0; margin-top: 1px; }
    .miss-mock-row .tx { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; }
    .miss-mock-row .meta { font-size: 11px; color: var(--muted); margin-top: 2px; }

    .miss-mock-aside { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
    .miss-mock-aside h4 { font-size: 11px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
    .miss-mock-aside .kv { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; }
    .miss-mock-aside .kv .k { color: var(--muted); }
    .miss-mock-aside .kv .v { font-weight: 800; color: var(--ink); }
    .miss-mock-aside hr { border: 0; border-top: 1px solid var(--border-soft); margin: 12px 0; }
    .miss-mock-member { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .miss-mock-member .av { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; }
    .miss-mock-member .nm { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--ink); }
    .miss-mock-member .ct { font-size: 10.5px; font-weight: 800; color: var(--muted); background: var(--cream-3); padding: 1px 8px; border-radius: 999px; }

    @media (max-width: 480px) {
      .browser-mock__body { padding: 16px 14px 14px; }
      .miss-mock-tabs { gap: 12px; }
    }

    /* ================================================================
       Reveal on scroll · IntersectionObserver ajoute .in-view
       ============================================================== */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
    }
    .reveal.in-view { opacity: 1; transform: translateY(0); }
    .reveal-stagger > * {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
    }
    .reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
    .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.06s; }
    .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.12s; }
    .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.18s; }
    .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.24s; }
    .reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.30s; }
    @media (prefers-reduced-motion: reduce) {
      .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
    }

    /* Eyebrows */
    .eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
      color: var(--brand); text-transform: uppercase;
      background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
    }
    .eyebrow-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
    .section-eyebrow {
      display: inline-block;
      font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
      color: var(--caramel); text-transform: uppercase;
      margin-bottom: 14px;
    }

    /* Titles */
    h1, h2, h3 { color: var(--ink); text-wrap: balance; }
    .display {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(38px, 6.4vw, 68px);
      line-height: 1.02;
      letter-spacing: -0.02em;
    }
    .display .accent {
      font-style: italic;
      font-weight: 700;
      color: var(--brand);
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    }
    .section-title {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(30px, 4.4vw, 44px);
      line-height: 1.06;
      letter-spacing: -0.015em;
      margin-bottom: 12px;
    }
    .section-lead {
      color: var(--muted);
      font-size: 17px;
      max-width: 680px;
      margin-bottom: 40px;
    }

    /* Hero */
    header.hero {
      padding: 80px 0 100px;
      background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 60%, var(--cream-2) 100%);
      position: relative;
      overflow: hidden;
    }
    header.hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 15% 30%, rgba(47, 74, 58, 0.06), transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(165, 104, 10, 0.08), transparent 55%);
      pointer-events: none;
    }
    /* Blobs ambient · rond flou animé lentement en fond pour du mouvement subtil */
    .hero-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.5;
      pointer-events: none;
      z-index: 0;
      animation: blob 18s ease-in-out infinite;
    }
    .hero-blob.b1 { width: 340px; height: 340px; background: var(--brand-soft); top: -60px; left: -80px; animation-delay: 0s; }
    .hero-blob.b2 { width: 280px; height: 280px; background: var(--caramel-soft); bottom: -80px; right: 6%; animation-delay: -6s; }
    .hero-blob.b3 { width: 220px; height: 220px; background: #F0E9F8; top: 30%; right: -60px; animation-delay: -12s; }
    @keyframes blob {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(30px, -20px) scale(1.08); }
      66% { transform: translate(-20px, 30px) scale(0.95); }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-blob { animation: none; }
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
      .hero-actions { justify-content: center; }
      .hero-badges { justify-content: center; }
      .hero-mockup { margin: 0 auto; }
    }
    .hero-copy .eyebrow { margin-bottom: 22px; }
    .hero-copy h1 { margin-bottom: 20px; max-width: 620px; }
    @media (max-width: 900px) { .hero-copy h1 { margin-left: auto; margin-right: auto; } }
    .hero-sub {
      font-size: clamp(16.5px, 1.8vw, 19px);
      color: var(--muted);
      max-width: 580px;
      margin: 0 0 32px;
      line-height: 1.55;
    }
    @media (max-width: 900px) { .hero-sub { margin-left: auto; margin-right: auto; } }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 22px;
      border-radius: 999px;
      font-weight: 800; font-size: 15px;
      text-decoration: none;
      transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
    }
    .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(47, 74, 58, 0.22); }
    .btn-primary:hover { background: var(--brand-mid); transform: translateY(-1px); }
    .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
    .btn-ghost:hover { background: var(--cream-2); }

    /* Hero footnote badges */
    .hero-badges {
      display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
      margin-top: 34px;
      color: var(--muted);
      font-size: 13.5px; font-weight: 600;
    }
    .hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
    .hero-badges .dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

    /* Category chip grid · pillar summary just under hero */
    .pillars {
      padding: 40px 0 0;
      background: var(--cream-2);
    }
    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }
    .pillar {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 16px;
      padding: 18px 16px;
      text-align: center;
    }
    .pillar-icon {
      font-size: 22px;
      margin-bottom: 6px;
    }
    .pillar h4 {
      font-size: 13px;
      font-weight: 900;
      color: var(--brand);
      letter-spacing: -0.005em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }
    .pillar p { font-size: 12px; color: var(--muted); line-height: 1.4; }
    @media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }

    /* Sections generic */
    section { padding: 88px 0; }
    section.bg-cream-2 { background: var(--cream-2); }
    section.bg-brand-soft { background: var(--brand-lighter); }
    section.bg-white { background: #fff; }

    /* Feature category blocks */
    .feature-block {
      margin-bottom: 68px;
    }
    .feature-block:last-child { margin-bottom: 0; }
    .feature-head {
      display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px;
      flex-wrap: wrap;
    }
    .feature-head .cat-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--brand);
      color: #fff;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .feature-head h3 {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(24px, 3vw, 32px);
      letter-spacing: -0.01em;
    }
    .feature-head p {
      color: var(--muted);
      font-size: 15.5px;
      flex-basis: 100%;
      max-width: 720px;
      margin-top: 4px;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    @media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
    .feature-card {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 18px;
      padding: 22px 20px;
      transition: border-color 0.15s ease, transform 0.15s ease;
    }
    .feature-card:hover { border-color: var(--brand-soft); transform: translateY(-2px); }
    .feature-icon {
      display: inline-flex; align-items: center; justify-content: center;
      width: 40px; height: 40px;
      border-radius: 12px;
      background: var(--brand-lighter);
      font-size: 20px;
      margin-bottom: 14px;
    }
    .feature-card h4 {
      font-size: 16px; font-weight: 900;
      margin-bottom: 6px;
      letter-spacing: -0.005em;
    }
    .feature-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

    /* Alt icon tones per category */
    .feature-block.cat-planning .feature-icon { background: var(--brand-lighter); color: var(--brand); }
    .feature-block.cat-comm .feature-icon { background: #E3EEF9; }
    .feature-block.cat-conform .feature-icon { background: var(--caramel-soft); }
    .feature-block.cat-formation .feature-icon { background: #F0E9F8; }
    .feature-block.cat-rh .feature-icon { background: var(--brand-lighter); }

    .feature-block.cat-comm .cat-tag { background: var(--sky); }
    .feature-block.cat-conform .cat-tag { background: var(--caramel); }
    .feature-block.cat-formation .cat-tag { background: var(--plum); }

    /* Day-in-life timeline */
    .journey {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 32px;
    }
    @media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
    .journey-step {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 18px;
      padding: 22px 20px;
      position: relative;
    }
    .journey-time {
      display: inline-block;
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 700;
      font-size: 13px;
      color: var(--caramel);
      background: var(--caramel-soft);
      padding: 3px 10px;
      border-radius: 999px;
      margin-bottom: 10px;
    }
    .journey-step h4 {
      font-size: 16px; font-weight: 900;
      margin-bottom: 6px; letter-spacing: -0.005em;
    }
    .journey-step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

    /* Roles */
    .roles {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    @media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
    .role {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 20px;
      padding: 28px;
    }
    .role h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 24px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.01em; }
    .role p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
    .role ul { list-style: none; padding: 0; }
    .role li {
      font-size: 14px; color: var(--ink);
      padding: 8px 0 8px 24px;
      border-top: 1px solid var(--border-soft);
      position: relative;
    }
    .role li:first-child { border-top: 0; }
    .role li::before {
      content: '✓';
      position: absolute; left: 0; top: 8px;
      color: var(--brand); font-weight: 900;
    }
    .role-badge {
      display: inline-block; font-size: 11.5px; font-weight: 900; letter-spacing: 0.08em;
      text-transform: uppercase;
      background: var(--brand-soft); color: var(--brand);
      padding: 5px 11px; border-radius: 999px;
      margin-bottom: 14px;
    }
    /* Owner variant · dark background, overrides déclarés APRÈS les règles
       génériques `.role p / .role li` pour que la source order l'emporte. */
    .role--owner { background: var(--brand); border-color: var(--brand); }
    .role--owner h3 { color: #fff; }
    .role--owner p { color: rgba(255,255,255,0.85); }
    .role--owner li { color: #fff; border-top-color: rgba(255,255,255,0.18); }
    .role--owner li::before { color: #C2E3CD; }
    .role--owner .role-badge { background: rgba(255,255,255,0.16); color: #fff; }

    /* Onboarding steps */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      counter-reset: step;
    }
    @media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
    .step {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 20px;
      padding: 28px;
      position: relative;
    }
    .step::before {
      counter-increment: step;
      content: counter(step);
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      background: var(--brand);
      color: #fff;
      border-radius: 12px;
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: 18px;
      margin-bottom: 14px;
    }
    .step h3 { font-size: 18px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.005em; }
    .step p { font-size: 14.5px; color: var(--muted); }

    /* Trust / stats strip */
    .trust {
      background: var(--brand);
      color: #fff;
      padding: 68px 0;
      text-align: center;
    }
    .trust h2 {
      color: #fff;
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(28px, 3.6vw, 40px);
      letter-spacing: -0.015em;
      margin-bottom: 12px;
    }
    .trust p {
      color: rgba(255,255,255,0.72);
      font-size: 16px;
      max-width: 640px;
      margin: 0 auto 40px;
    }
    .trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
    @media (max-width: 720px) { .trust-stats { grid-template-columns: repeat(2, 1fr); } }
    .stat {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(28px, 3.6vw, 38px);
      color: #fff;
      line-height: 1;
    }
    .stat-label { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700; margin-top: 8px; letter-spacing: 0.04em; text-transform: uppercase; }

    /* Pricing */
    .pricing-card {
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 24px;
      padding: 36px;
      max-width: 640px; margin: 0 auto;
      text-align: center;
    }
    .pricing-eyebrow {
      display: inline-block;
      background: var(--caramel-soft);
      color: var(--caramel);
      font-size: 12px; font-weight: 900;
      letter-spacing: 0.06em;
      padding: 5px 12px;
      border-radius: 999px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    .pricing-title { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 30px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.01em; }
    .pricing-price { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: var(--brand); margin: 18px 0 4px; }
    .pricing-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
    .pricing-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: 24px; text-align: left; }
    @media (max-width: 640px) { .pricing-perks { grid-template-columns: 1fr; } }
    .pricing-perks li {
      list-style: none; padding-left: 24px; position: relative;
      font-size: 14px; color: var(--ink);
    }
    .pricing-perks li::before {
      content: '✓';
      position: absolute; left: 0;
      color: var(--brand); font-weight: 900;
    }

    /* CTA band */
    .cta-band {
      background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
      border-radius: 28px;
      padding: 52px 40px;
      text-align: center;
      color: #fff;
    }
    .cta-band h2 {
      color: #fff;
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-weight: 900;
      font-size: clamp(28px, 3.6vw, 38px);
      letter-spacing: -0.01em;
      margin-bottom: 12px;
    }
    .cta-band p { color: rgba(255,255,255,0.85); font-size: 16.5px; max-width: 560px; margin: 0 auto 24px; }
    .cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
    .cta-band .btn-primary:hover { background: var(--cream-2); }
    .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
    .cta-band .btn-ghost:hover { background: rgba(255,255,255,0.08); }

    /* Footer */
    footer {
      padding: 40px 0;
      border-top: 1px solid var(--border);
      background: var(--cream);
    }
    footer .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
    .footer-links { display: flex; gap: 22px; }
    .footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
    .footer-links a:hover { color: var(--brand); }

    /* Utility */
    .center { text-align: center; }

/* ================================================================
   Mega-menu · dropdown au hover de "Fonctionnalités"
   ============================================================== */
.nav-mega-trigger { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-mega-trigger .chev { font-size: 10px; opacity: 0.6; transition: transform 0.15s ease; }
.nav-mega-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px -12px rgba(47, 74, 58, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.22, 0.7, 0.3, 1), visibility 0.18s;
  z-index: 40;
}
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 28px 24px 32px;
}
@media (max-width: 1080px) { .mega-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .mega-grid { grid-template-columns: 1fr; } }
.mega-col-head {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 15px; font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.005em;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}
.mega-col-head:hover { color: var(--brand-mid); }
.mega-col-head:hover .mega-col-arrow { transform: translateX(4px); }
.mega-col-emoji { font-size: 18px; }
.mega-col-arrow { font-size: 12px; color: var(--brand); transition: transform 0.15s ease; margin-left: auto; }
.mega-col-lead {
  font-size: 12px; color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.45;
  min-height: 34px;
}
.mega-col-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border-soft); padding-top: 8px; }
.mega-col-list li { margin: 0; padding: 0; }
.mega-col-list a {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.12s ease, transform 0.12s ease;
}
.mega-col-list a:hover { color: var(--brand); transform: translateX(2px); }

/* ================================================================
   Mega-menu · overrides mobile ≤ 820 px
   Ce bloc est DÉCLARÉ APRÈS les règles desktop pour gagner en source order
   (sinon les règles desktop opacity:0/visibility:hidden/transform:-6px
   écrasent silencieusement les overrides mobile · drawer invisible).
   ============================================================== */
@media (max-width: 820px) {
  .mega-panel {
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    border-bottom: 0;
    box-shadow: none;
    background: #fff;
    opacity: 1;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 0.7, 0.3, 1), visibility 0s linear 0.28s;
    z-index: 45;
  }
  .mega-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.28s cubic-bezier(0.22, 0.7, 0.3, 1), visibility 0s linear 0s;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 20px 120px;
  }
  .mega-col + .mega-col { border-top: 1px solid var(--border); padding-top: 20px; }
  .mega-drawer-extra {
    display: block;
    padding: 4px 20px 24px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .mega-drawer-extra a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.005em;
  }
  .mega-drawer-extra a:hover { color: var(--brand); }
  .mega-drawer-extra a.cta {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    text-align: center;
    padding: 14px 18px;
    margin-top: 12px;
  }
}

/* ================================================================
   Feature hero · pages sous /fonctionnalites/
   ============================================================== */
.feature-hero {
  padding: 60px 0 76px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  position: relative;
  overflow: hidden;
}
.feature-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.feature-hero h1.display {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 16px;
}
.feature-hero .display em {
  font-style: italic;
  font-weight: 800;
  color: var(--brand);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
.feature-hero .hero-sub {
  margin-left: auto; margin-right: auto;
  max-width: 640px;
}
.feature-hero .hero-actions { justify-content: center; }
.feature-crumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-soft);
  transition: color 0.15s ease, background 0.15s ease;
}
.feature-crumb:hover { color: var(--brand); background: var(--brand-lighter); }
.feature-crumb span:nth-child(2) { opacity: 0.5; }
.feature-crumb span:last-child { color: var(--brand); font-weight: 900; }

/* ================================================================
   Prose · corps texte long sur les pages feature
   ============================================================== */
.prose {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.7;
}
.prose > * + * { margin-top: 18px; }
.prose h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 32px;
}
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--brand); font-weight: 800; }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 16px;
  color: var(--muted);
  font-style: italic;
}

/* ================================================================
   Related cards · fin de page feature "à explorer"
   ============================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: block;
}
.related-card:hover { border-color: var(--brand-soft); transform: translateY(-2px); }
.related-card h4 { font-size: 16px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.005em; }
.related-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.related-card .related-arrow {
  font-size: 12.5px; font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.02em;
}

/* ================================================================
   FAQ · accordions natifs <details> stylisés
   ============================================================== */
.faq { max-width: 780px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--brand-soft); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 16px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px; font-weight: 400;
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(0); }
.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: var(--brand); text-decoration: underline; font-weight: 700; }

/* ================================================================
   Brewsign showcase · mockup de certificat + variantes réutilisables
   par toute page /fonctionnalites/ qui veut un visuel produit plutôt
   que du texte pur. Classes préfixées .bs- pour rester isolées.
   ============================================================== */
section.bs-tight { padding-top: 4px; }
@media (max-width: 640px) { section.bs-tight { padding-top: 0; } }

.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps--4 { grid-template-columns: 1fr; } }

.bs-showcase {
  display: flex;
  justify-content: center;
}
.bs-cert-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(33, 56, 45, 0.35);
}
.bs-cert-band {
  position: relative;
  background: var(--cream-2);
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--border-soft);
}
.bs-cert-band::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 5px;
  background: var(--brand-mid);
}
.bs-cert-ref {
  position: absolute; top: 22px; right: 28px;
  text-align: right;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.5;
}
.bs-cert-ref strong {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0;
  color: var(--ink);
  margin-top: 2px;
}
.bs-cert-brand { font-size: 19px; font-weight: 900; color: var(--ink); letter-spacing: -0.01em; }
.bs-cert-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bs-cert-title { font-size: 15px; font-weight: 800; color: var(--ink); margin-top: 14px; }
.bs-cert-row {
  display: flex; gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-soft);
}
.bs-cert-sig {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.bs-cert-info { flex: 1; min-width: 0; }
.bs-cert-name {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14.5px; font-weight: 800; color: var(--ink);
  margin-bottom: 6px;
}
.bs-cert-pill {
  display: inline-flex; align-items: center;
  background: var(--brand-mid);
  color: #fff;
  font-size: 9.5px; font-weight: 900; letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
}
.bs-cert-meta { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.bs-cert-hash {
  padding: 18px 28px 24px;
}
.bs-cert-hash span {
  display: block;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}
.bs-cert-hash code {
  display: block;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 12px; color: var(--ink);
  letter-spacing: 0.02em;
  word-break: break-all;
}
.bs-cert-caption {
  text-align: center;
  font-size: 12.5px; color: var(--muted);
  margin-top: 14px;
}
