﻿html, body {
      min-height: 100%;
      margin: 0;
      background: oklch(0.10 0.003 250) !important;
      color: oklch(0.97 0.004 85);
    }

    .grain {
      position: fixed; inset: 0;
      pointer-events: none; z-index: 0; opacity: 0.045;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 300px 300px;
    }

    .nav {
      position: relative; z-index: 100;
      background: transparent !important;
      border-bottom: 1px solid oklch(1 0 0 / 0.08);
    }

    /* ── Wrapper — centre la "carte modal" sur la page ───────────────────────── */
    .rgpd-wrap {
      position: relative; z-index: 1;
      min-height: calc(100vh - 65px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 48px 20px 80px;
      box-sizing: border-box;
    }

    /* ── Carte (calquée exactement sur le <div> modal de l'app) ─────────────── */
    /* maxWidth:640, bg:oklch(0.13 0.003 250), border:oklch(1 0 0/0.25)         */
    .rgpd-card {
      width: 100%;
      max-width: 640px;
      background: oklch(0.13 0.003 250);
      border: 1px solid oklch(1 0 0 / 0.25);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* ── Header (padding:20px 28px, borderBottom:oklch(1 0 0/0.15)) ──────────── */
    .rgpd-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 28px;
      border-bottom: 1px solid oklch(1 0 0 / 0.15);
      flex-shrink: 0;
    }
    .rgpd-eyebrow {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 9px; font-weight: 600;
      letter-spacing: 0.20em; text-transform: uppercase;
      color: oklch(1 0 0 / 0.5);
      margin-bottom: 4px;
    }
    .rgpd-title {
      font-family: 'Cinzel', serif;
      font-size: 16px;
      letter-spacing: 0.16em;
      color: oklch(0.97 0.004 85);
      margin: 0;
    }

    /* Bouton ✕ → lien retour */
    .rgpd-close {
      -webkit-appearance: none; appearance: none;
      border: none; background: none; padding: 0; margin: 0;
      cursor: pointer;
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      color: oklch(1 0 0 / 0.4);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 16px;
      text-decoration: none;
      transition: color 120ms;
      flex-shrink: 0;
    }
    .rgpd-close:hover { color: oklch(1 0 0 / 0.8); }

    /* ── Body scrollable (padding:24px 28px, gap:28) ─────────────────────────── */
    .rgpd-body {
      padding: 24px 28px;
      display: flex;
      flex-direction: column;
      gap: 28px;
      overflow-y: auto;
    }

    /* Préambule (fontSize:13, color:oklch(1 0 0/0.6), lineHeight:1.7) */
    .rgpd-intro {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 13px;
      color: oklch(1 0 0 / 0.6);
      line-height: 1.7;
      margin: 0;
    }

    /* Section */
    .rgpd-section {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    /* Titre section (fontSize:10, fontWeight:600, letterSpacing:0.16em) */
    .rgpd-section-title {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px; font-weight: 600;
      letter-spacing: 0.16em; text-transform: uppercase;
      color: oklch(0.97 0.004 85);
    }
    /* Corps section (fontSize:13, color:oklch(1 0 0/0.6), lineHeight:1.7, whiteSpace:pre-line) */
    .rgpd-section-body {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 13px;
      color: oklch(1 0 0 / 0.6);
      line-height: 1.7;
      white-space: pre-line;
      margin: 0;
    }

    /* Séparateur bas */
    .rgpd-sep {
      height: 1px;
      background: oklch(1 0 0 / 0.10);
    }
    /* Pied de corps */
    .rgpd-body-footer {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 9px;
      color: oklch(1 0 0 / 0.3);
      letter-spacing: 0.10em;
      text-align: center;
    }

    /* ── Footer bouton (padding:16px 28px, borderTop:oklch(1 0 0/0.15)) ─────── */
    .rgpd-footer {
      padding: 16px 28px;
      border-top: 1px solid oklch(1 0 0 / 0.15);
      flex-shrink: 0;
    }
    .rgpd-accept {
      -webkit-appearance: none; appearance: none;
      border: none; cursor: pointer;
      box-sizing: border-box;
      display: flex; align-items: center; justify-content: center;
      width: 100%; padding: 12px;
      background: oklch(0.97 0.004 85);
      color: oklch(0.08 0.003 250);
      font-family: 'Cinzel', serif;
      font-size: 12px; letter-spacing: 0.22em;
      transition: background 140ms;
      text-decoration: none;
    }
    .rgpd-accept:hover { background: oklch(0.90 0.004 85); }