    /* Fontes auto-hebergees : plus aucune requete vers un CDN de polices
       tiers. L'IP du visiteur ne part donc plus aux Etats-Unis, ce qui etait
       incompatible avec la promesse « donnees hebergees en France » affichee
       sur cette page.
       DM Sans v17 est une fonte VARIABLE : un seul fichier couvre l'axe wght
       100..1000, les quatre graisses utilisees (400/500/600/700) n'ajoutent
       aucun octet. La plage « 100 1000 » est obligatoire : avec une valeur
       unique le navigateur synthetiserait le gras au lieu d'instancier l'axe.
       unicode-range : sous-ensemble « latin », le seul que le navigateur
       telecharge (aucun caractere de la page ne tombe dans latin-ext). */
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 100 1000;
      font-display: swap;
      src: url('/fonts/dm-sans-v17-latin-variable.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    @font-face {
      font-family: 'DM Serif Display';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('/fonts/dm-serif-display-v17-latin-400.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

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

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

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    button {
      border: none;
      cursor: pointer;
      font-family: inherit;
    }

    :root {
      --primary: #C4653A;
      --primary-dark: #9E4E2B;
      --secondary: #1B6B5A;
      --accent: #F5E6D3;
      --bg: #FDFAF6;
      --surface: #FFF;
      --text: #1A1A2E;
      --text-secondary: #6B7280;
      --text-muted: #9CA3AF;
      --border: #E5E1DB;
      --success: #059669;
      --warning: #D97706;
      --error: #DC2626;
      --font-body: 'DM Sans', sans-serif;
      --font-heading: 'DM Serif Display', georgia, serif;
      --max-width: 1200px;
      --shadow-sm: 0 1px 6px rgb(26 26 46 / 6%);
      --shadow-md: 0 4px 16px rgb(26 26 46 / 8%);
      --shadow-lg: 0 8px 32px rgb(26 26 46 / 10%);
    }

    body {
      font-family: var(--font-body);
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== Buttons ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      transition: all 0.2s;
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--text);
    }

    .btn-outline:hover {
      border-color: var(--text-muted);
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      border: none;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
    }

    .btn-teal {
      background: transparent;
      border: 1.5px solid var(--secondary);
      color: var(--secondary);
    }

    .btn-teal:hover {
      background: rgb(27 107 90 / 5%);
    }

    .btn-lg {
      padding: 14px 28px;
      font-size: 16px;
      border-radius: 12px;
    }

    /* ===== Header ===== */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgb(255 255 255 / 95%);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
    }

    .header .container {
      display: flex;
      align-items: center;
      height: 72px;
      gap: 40px;
    }

    .logo {
      font-family: var(--font-heading);
      font-size: 26px;
      color: var(--text);
      white-space: nowrap;
    }

    .logo-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
      margin-left: 2px;
      vertical-align: middle;
      transform: translateY(-2px);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 32px;
      margin-left: auto;
    }

    .nav a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      transition: color 0.2s;
    }

    .nav a:hover {
      color: var(--text);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .menu-toggle {
      display: none;
      background: none;
      padding: 8px;
    }

    .menu-toggle svg {
      width: 24px;
      height: 24px;
      stroke: var(--text);
    }

    /* ===== Hero ===== */
    .hero {
      padding: 80px 0 60px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      right: -100px;
      top: -50px;
      width: 640px;
      height: 640px;
      background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
      opacity: 0.5;
      pointer-events: none;
    }

    .hero .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-badge {
      display: inline-block;
      padding: 8px 16px;
      background: rgb(196 101 58 / 10%);
      border-radius: 18px;
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .hero h1 {
      font-family: var(--font-heading);
      font-size: 52px;
      font-weight: 400;
      line-height: 1.15;
      margin-bottom: 24px;
    }

    .hero h1 .accent {
      color: var(--primary);
    }

    .hero-subtitle {
      font-size: 19px;
      color: var(--text-secondary);
      margin-bottom: 36px;
      max-width: 520px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .hero-note {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .arrow-icon {
      width: 16px;
      height: 16px;
      fill: currentcolor;
    }

    /* Dashboard mockup */
    .dashboard-mockup {
      background: var(--surface);
      border-radius: 16px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      position: relative;
      z-index: 1;
    }

    .mockup-titlebar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 20px;
      background: #F9F7F4;
      border-bottom: 1px solid var(--border);
    }

    .mockup-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .mockup-dot--red {
      background: #EF4444;
      opacity: 0.6;
    }

    .mockup-dot--yellow {
      background: #F59E0B;
      opacity: 0.6;
    }

    .mockup-dot--green {
      background: #10B981;
      opacity: 0.6;
    }

    .mockup-body {
      display: flex;
      min-height: 300px;
    }

    .mockup-sidebar {
      width: 130px;
      flex-shrink: 0;
      background: rgb(26 26 46 / 3%);
      padding: 16px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .mockup-sidebar-item {
      font-size: 11px;
      color: var(--text-muted);
      padding: 6px 10px;
      border-radius: 6px;
    }

    .mockup-sidebar-item--active {
      background: rgb(196 101 58 / 10%);
      color: var(--primary);
      font-weight: 600;
    }

    .mockup-content {
      flex: 1;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .mockup-kpis {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .mockup-kpi {
      border: 0.5px solid var(--border);
      border-radius: 8px;
      padding: 10px 12px;
    }

    .mockup-kpi-label {
      font-size: 9px;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .mockup-kpi-value {
      font-family: var(--font-heading);
      font-size: 20px;
    }

    .mockup-kpi-value--teal {
      color: var(--secondary);
    }

    .mockup-row {
      display: flex;
      gap: 10px;
    }

    .mockup-chart {
      flex: 2;
      border: 0.5px solid var(--border);
      border-radius: 8px;
      padding: 12px;
    }

    .mockup-chart-title {
      font-size: 10px;
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }

    .mockup-bars {
      display: flex;
      align-items: flex-end;
      gap: 6px;
      height: 60px;
    }

    .mockup-bar {
      flex: 1;
      background: var(--primary);
      border-radius: 3px;
      min-width: 12px;
    }

    .mockup-alerts {
      flex: 1;
      border: 0.5px solid var(--border);
      border-radius: 8px;
      padding: 12px;
    }

    .mockup-alerts-title {
      font-size: 10px;
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .mockup-alert {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 5px 8px;
      border-radius: 4px;
      font-size: 8px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .mockup-alert--error {
      background: rgb(220 38 38 / 8%);
      color: var(--error);
    }

    .mockup-alert--warning {
      background: rgb(217 119 6 / 8%);
      color: var(--warning);
    }

    .mockup-alert-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentcolor;
      flex-shrink: 0;
    }

    .mockup-payments {
      border: 0.5px solid var(--border);
      border-radius: 8px;
      padding: 12px;
    }

    .mockup-payments-title {
      font-size: 10px;
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .mockup-payment-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 9px;
      padding: 4px 0;
    }

    .mockup-payment-badge {
      font-size: 8px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
    }

    .badge-paid {
      background: rgb(5 150 105 / 10%);
      color: var(--success);
    }

    .badge-late {
      background: rgb(220 38 38 / 10%);
      color: var(--error);
    }

    /* ===== Sections ===== */
    .section {
      padding: 100px 0;
    }

    .section-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      letter-spacing: 2px;
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 16px;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: 42px;
      text-align: center;
      margin-bottom: 16px;
    }

    .section-subtitle {
      font-size: 17px;
      color: var(--text-secondary);
      text-align: center;
      max-width: 600px;
      margin: 0 auto 60px;
    }

    /* ===== Features ===== */
    .features {
      background: var(--surface);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .feature-card {
      background: var(--surface);
      border-radius: 16px;
      padding: 28px;
      box-shadow: var(--shadow-sm);
      border-top: 4px solid var(--primary);
      transition: box-shadow 0.2s, transform 0.2s;
    }

    .feature-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .feature-card--teal {
      border-top-color: var(--secondary);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .feature-icon--primary {
      background: rgb(196 101 58 / 8%);
    }

    .feature-icon--secondary {
      background: rgb(27 107 90 / 8%);
    }

    .feature-icon svg {
      width: 32px;
      height: 32px;
    }

    .feature-card h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .feature-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .feature-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
    }

    .feature-link--secondary {
      color: var(--secondary);
    }

    .feature-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .feature-tag {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--text-secondary);
    }

    .feature-tag::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 2px;
      background: var(--primary);
      opacity: 0.25;
      flex-shrink: 0;
    }

    .relance-timeline {
      display: flex;
      align-items: center;
      margin-bottom: 16px;
    }

    .relance-step {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      color: var(--text-secondary);
    }

    .relance-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      position: relative;
      flex-shrink: 0;
    }

    .relance-dot::after {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      position: absolute;
      top: 3px;
      left: 3px;
    }

    .relance-dot--warning {
      background: rgb(217 119 6 / 15%);
    }

    .relance-dot--warning::after {
      background: #D97706;
    }

    .relance-dot--orange {
      background: rgb(234 88 12 / 15%);
    }

    .relance-dot--orange::after {
      background: #EA580C;
    }

    .relance-dot--error {
      background: rgb(220 38 38 / 15%);
    }

    .relance-dot--error::after {
      background: #DC2626;
    }

    .relance-line {
      width: 24px;
      border-top: 1.5px dashed var(--border);
      margin: 0 4px;
      flex-shrink: 0;
    }

    .relance-line--tight {
      width: 10px;
      margin: 0 2px;
    }

    .state-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }

    .state-badge {
      font-size: 11px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 6px;
    }

    .state-badge--success {
      background: rgb(5 150 105 / 10%);
      color: var(--success);
    }

    .state-badge--teal {
      background: rgb(27 107 90 / 10%);
      color: var(--secondary);
    }

    .state-badge--warning {
      background: rgb(217 119 6 / 10%);
      color: var(--warning);
    }

    .state-badge--error {
      background: rgb(220 38 38 / 10%);
      color: var(--error);
    }

    .tax-regimes {
      display: flex;
      gap: 10px;
      margin-bottom: 16px;
    }

    .tax-regime {
      flex: 1;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 8px 12px;
    }

    .tax-regime-label {
      font-size: 10px;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .tax-regime-value {
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
    }

    .trust-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .trust-badge {
      font-size: 11px;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 7px;
      background: rgb(27 107 90 / 8%);
      color: var(--secondary);
    }

    .features-coming-soon {
      text-align: center;
      margin-top: 48px;
      color: var(--text-muted);
      font-size: 16px;
    }

    .features-dots {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 16px;
    }

    .features-dots span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
    }

    /* ===== Pricing ===== */
    .pricing {
      background: var(--surface);
    }

    /* Les deux cartes partagent les mêmes lignes de grille (subgrid), une par
       étage : en-tête, description, filet, intitulé, liste, bouton. Les aplats
       de couleur se terminent donc exactement à la même hauteur, et chaque
       étage est aligné d'une carte à l'autre quelle que soit la longueur des
       textes. Ajouter un étage, c'est retoucher les trois compteurs :
       6 = 1 (en-tête) + 4 (corps) + 1 (pied). */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(6, auto);
      /* Une carte en subgrid hérite des gouttières de sa grille parente, y
         compris entre ses propres étages : la gouttière de ligne reste donc
         nulle, l'espacement vient des marges de chaque bloc. */
      column-gap: 24px;
      row-gap: 0;
      max-width: 1140px;
      margin-left: auto;
      margin-right: auto;
    }

    .pricing-card {
      background: var(--surface);
      border-radius: 24px;
      overflow: hidden;
      /* Même épaisseur que la carte mise en avant : une bordure plus fine
         décalerait ses lignes de grille d'un pixel. */
      border: 2px solid var(--border);
      box-shadow: var(--shadow-sm);
      position: relative;
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
    }

    .pricing-card--popular {
      border-color: var(--primary);
      box-shadow: 0 4px 20px rgb(196 101 58 / 10%), 0 16px 64px rgb(26 26 46 / 8%);
      overflow: visible;
    }

    .popular-badge {
      position: absolute;
      top: -16px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 6px 20px;
      border-radius: 16px;
      white-space: nowrap;
      z-index: 2;
    }

    .pricing-header {
      padding: 32px 32px 20px;
    }

    .pricing-header--cream {
      background: var(--bg);
    }

    .pricing-header--primary {
      background: rgb(196 101 58 / 3%);
    }

    .pricing-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 16px;
    }

    .pricing-icon--primary {
      background: rgb(196 101 58 / 8%);
    }

    .pricing-plan {
      margin-top: 0;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    .pricing-price-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 4px;
    }

    .pricing-price {
      font-family: var(--font-heading);
      font-size: 56px;
      color: var(--text);
      line-height: 1;
    }

    .pricing-price-unit {
      font-size: 16px;
      color: var(--text-muted);
    }

    .pricing-savings {
      display: inline-block;
      background: rgb(5 150 105 / 10%);
      color: var(--success);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 13px;
    }

    /* Billing period toggle */
    .billing-toggle {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin: 0 auto 16px;
      padding: 4px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 999px;
    }

    .billing-toggle-btn {
      border: none;
      background: transparent;
      cursor: pointer;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-secondary);
      padding: 8px 18px;
      border-radius: 999px;
      transition: background 0.2s, color 0.2s;
    }

    .billing-toggle-btn[aria-pressed="true"] {
      background: var(--surface);
      color: var(--text);
      box-shadow: var(--shadow-sm);
    }

    .billing-toggle-save {
      display: inline-block;
      margin-left: 8px;
      background: rgb(5 150 105 / 12%);
      color: var(--success);
      font-size: 12px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 999px;
      vertical-align: middle;
    }

    .pricing-trial {
      font-size: 14px;
      color: var(--text-secondary);
      margin: 16px 0 0;
    }

    /* Les 4 étages du corps sont ceux de la grille parente, pas les siens. */
    .pricing-body {
      padding: 0 32px 32px;
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
    }

    .pricing-desc {
      font-size: 15px;
      color: var(--text-secondary);
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .pricing-divider {
      border: none;
      border-top: 1px solid var(--border);
      margin-bottom: 24px;
    }

    .pricing-includes {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .pricing-includes--primary {
      color: var(--primary);
    }

    .pricing-features {
      margin-bottom: 24px;
    }

    .pricing-feature {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 15px;
      color: var(--text);
      margin-bottom: 12px;
    }

    /* Le libellé est un seul élément flex : sinon chaque <strong> et chaque
       nœud de texte devient un élément à part, séparé par le `gap`. */
    .pricing-feature-label {
      line-height: 20px;
    }

    .pricing-check {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      flex-shrink: 0;
      position: relative;
    }

    .pricing-check--success {
      background: rgb(5 150 105 / 10%);
      color: var(--success);
    }

    .pricing-check--primary {
      background: rgb(196 101 58 / 10%);
      color: var(--primary);
    }

    .pricing-check svg {
      width: 12px;
      height: 12px;
      position: absolute;
      top: 4px;
      left: 4px;
    }

    .pricing-cta {
      width: 100%;
      padding: 14px;
      font-size: 16px;
    }

    .pricing-footer {
      padding: 0 32px 32px;
    }

    .pricing-guarantee {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
      max-width: 800px;
      margin: 48px auto 0;
      padding: 16px 32px;
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: 28px;
      box-shadow: var(--shadow-sm);
      font-size: 14px;
      color: var(--text-secondary);
    }

    .pricing-guarantee span {
      white-space: nowrap;
    }

    /* ===== FAQ ===== */
    .faq {
      background: var(--bg);
    }

    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border: 1px solid var(--border);
      border-radius: 12px;
      margin-bottom: 12px;
      background: var(--bg);
      overflow: hidden;
    }

    .faq-item.active {
      border-color: var(--primary);
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      background: none;
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
      text-align: left;
    }

    .faq-chevron {
      width: 20px;
      height: 20px;
      fill: var(--text-muted);
      transition: transform 0.3s;
      flex-shrink: 0;
    }

    .faq-item.active .faq-chevron {
      transform: rotate(180deg);
      fill: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .faq-answer-inner {
      padding: 0 24px 20px;
      border-top: 1px solid var(--border);
      padding-top: 16px;
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ===== CTA Final ===== */
    .cta-final {
      background: var(--text);
      padding: 100px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-final::before {
      content: '';
      position: absolute;
      left: -100px;
      top: -100px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
      opacity: 0.05;
      pointer-events: none;
    }

    .cta-final::after {
      content: '';
      position: absolute;
      right: -100px;
      bottom: -100px;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
      opacity: 0.06;
      pointer-events: none;
    }

    .cta-final h2 {
      font-family: var(--font-heading);
      font-size: 44px;
      color: #fff;
      margin-bottom: 16px;
      position: relative;
    }

    .cta-final .section-subtitle {
      color: rgb(255 255 255 / 70%);
      margin-bottom: 40px;
      position: relative;
    }

    .cta-final .btn-primary {
      position: relative;
      padding: 16px 36px;
      font-size: 17px;
    }

    .cta-final-note {
      font-size: 13px;
      color: rgb(255 255 255 / 50%);
      margin-top: 24px;
      position: relative;
    }

    /* ===== Footer ===== */
    .footer {
      position: relative;
      background: #151525;
      padding: 60px 0 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr repeat(4, 1fr);
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand .logo {
      color: #fff;
      margin-bottom: 8px;
    }

    .footer-brand p {
      font-size: 13px;
      color: rgb(255 255 255 / 50%);
    }

    .footer-col-title {
      font-size: 13px;
      font-weight: 600;
      color: rgb(255 255 255 / 80%);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .footer-col a {
      display: block;
      font-size: 14px;
      color: rgb(255 255 255 / 50%);
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: rgb(255 255 255 / 80%);
    }

    .footer-bottom {
      border-top: 1px solid rgb(255 255 255 / 10%);
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-copy {
      font-size: 12px;
      color: rgb(255 255 255 / 35%);
    }

    /* Bandeau tricolore de 3 px, sur toute la largeur du pied de page. */
    .footer-flag {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      display: flex;
      height: 3px;
    }

    .footer-flag span {
      display: block;
      flex: 1;
    }

    .footer-flag span:first-child {
      background: #002395;
    }

    .footer-flag span:nth-child(2) {
      background: #fff;
    }

    .footer-flag span:last-child {
      background: #ED2939;
    }

    /* ===== Responsive ===== */
    @media (width <= 1024px) {
      .hero .container {
        grid-template-columns: 1fr;
      }

      .hero h1 {
        font-size: 40px;
      }

      .dashboard-mockup {
        max-width: 520px;
      }

      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (width <= 768px) {
      .nav,
      .header-actions .btn-outline {
        display: none;
      }

      .menu-toggle {
        display: block;
        margin-left: auto;
      }

      .header-actions {
        margin-left: 0;
      }

      .hero {
        padding: 40px 0;
      }

      .hero h1 {
        font-size: 32px;
      }

      .hero-subtitle {
        font-size: 16px;
      }

      .section-title {
        font-size: 30px;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }

      /* Empilées, les cartes ne peuvent pas compter sur la gouttière de ligne
         (nulle, cf. plus haut) pour se séparer. */
      .pricing-card:not(:last-child) {
        margin-bottom: 28px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .cta-final h2 {
        font-size: 30px;
      }

      .mockup-sidebar {
        display: none;
      }

      .mockup-kpis {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-bottom {
        flex-direction: column;
        gap: 12px;
      }
    }

    .breadcrumb {
      padding: 20px 0 0;
      font-size: 13px;
      color: var(--text-secondary);
    }

    .breadcrumb ol {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      list-style: none;
    }

    .breadcrumb li + li::before {
      content: "/";
      margin-right: 8px;
      color: var(--text-muted);
    }

    .breadcrumb a:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    .breadcrumb [aria-current] {
      color: var(--text);
      font-weight: 500;
    }

    .page-lede {
      max-width: 720px;
      margin-bottom: 32px;
      font-size: 19px;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    .prose {
      max-width: 720px;
    }

    .prose h2 {
      margin-top: 44px;
      margin-bottom: 14px;
      font-family: var(--font-heading);
      font-size: 28px;
      font-weight: 400;
      color: var(--text);
    }

    .prose p {
      margin-bottom: 16px;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    .prose ul {
      margin-bottom: 16px;
      padding-left: 22px;
      list-style: disc;
    }

    .prose li {
      margin-bottom: 8px;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    .prose-steps {
      margin-bottom: 16px;
      list-style: none;
    }

    .prose-steps li {
      margin-bottom: 12px;
      padding-left: 14px;
      border-left: 2px solid var(--border);
    }

    .prose-note {
      margin-bottom: 16px;
      padding: 14px 16px;
      border-left: 3px solid var(--secondary);
      border-radius: 0 8px 8px 0;
      background: var(--surface-alt, rgb(27 107 90 / 6%));
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    .legal-version {
      margin-bottom: 16px;
      font-weight: 600;
      color: var(--text);
    }

    .legal-toc {
      max-width: 720px;
      margin: 32px 0 8px;
      padding: 20px 24px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
    }

    .legal-toc-title {
      margin-bottom: 10px;
      font-weight: 600;
    }

    .legal-toc ol {
      list-style: none;
      columns: 2 280px;
      column-gap: 32px;
    }

    .legal-toc li {
      margin-bottom: 6px;
      break-inside: avoid;
      font-size: 14px;
      line-height: 1.4;
    }

    .legal-toc-annex {
      font-weight: 600;
    }

    .legal-toc a,
    .legal a {
      color: var(--primary-dark);
      overflow-wrap: anywhere;
    }

    .legal h2,
    .legal h3,
    .legal h4,
    .legal h5 {
      scroll-margin-top: 96px;
    }

    .legal h3 {
      margin: 32px 0 12px;
      font-size: 20px;
      color: var(--text);
    }

    .legal h3[id^="annexe-"] {
      margin-top: 56px;
      font-family: var(--font-heading);
      font-size: 26px;
      font-weight: 400;
    }

    .legal h4,
    .legal h5 {
      margin: 24px 0 10px;
      font-size: 17px;
      color: var(--text);
    }

    .legal ol {
      margin-bottom: 16px;
      padding-left: 22px;
      list-style: decimal;
    }

    .legal strong {
      color: var(--text);
    }

    .legal blockquote {
      margin-bottom: 16px;
      padding: 14px 16px 2px;
      border-left: 3px solid var(--secondary);
      border-radius: 0 8px 8px 0;
      background: rgb(27 107 90 / 6%);
    }

    .legal hr {
      margin: 32px 0;
      border: 0;
      border-top: 1px solid var(--border);
    }

    .legal table {
      display: block;
      max-width: 100%;
      margin-bottom: 16px;
      overflow-x: auto;
      border-collapse: collapse;
      font-size: 14px;
    }

    .legal th,
    .legal td {
      padding: 8px 10px;
      border: 1px solid var(--border);
      text-align: left;
      vertical-align: top;
      color: var(--text-secondary);
    }

    .legal th {
      background: var(--accent);
      color: var(--text);
    }

    .prose .changelog-list {
      padding-left: 0;
      list-style: none;
    }

    .changelog-list li {
      margin-bottom: 14px;
      padding-left: 14px;
      border-left: 2px solid var(--border);
    }

    .changelog-list a {
      font-weight: 600;
      color: var(--primary-dark);
      white-space: nowrap;
    }

    .plan-badge {
      display: inline-block;
      margin-bottom: 20px;
      padding: 5px 12px;
      border-radius: 999px;
      background: rgb(27 107 90 / 10%);
      font-size: 13px;
      font-weight: 600;
      color: var(--secondary);
    }

    .download-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 12px;
      max-width: 720px;
      margin-bottom: 16px;
    }

    .download-card {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 16px 18px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
      text-decoration: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .download-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    .download-os {
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
    }

    .download-arch {
      font-size: 14px;
      color: var(--primary);
    }

    .download-note {
      font-size: 13px;
      color: var(--text-muted);
    }

    .download-meta {
      max-width: 720px;
      margin-bottom: 32px;
      font-size: 14px;
      color: var(--text-secondary);
    }

    .code-block {
      max-width: 720px;
      margin: 0 0 20px;
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }

    .code-block figcaption {
      padding: 8px 14px;
      border-bottom: 1px solid var(--border);
      background: var(--bg);
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .code-block pre {
      margin: 0;
      padding: 14px;
      overflow-x: auto;
      font-size: 13px;
      line-height: 1.6;
      color: var(--text);
    }
