/* ============================================================
   style-legal.css - Cap70Conseil
   4e identite/gabarit, propre aux pages juridiques statiques :
   rgpd/confidentialite.php (FR) et en/gdpr/privacy.php (EN).
   (RA-CSS chantier CSS/JSON, session du 19/09/2026)
   ------------------------------------------------------------
   Ce gabarit reutilise les memes tokens que le socle (:root et
   footer identiques a style.css, verifie), mais redefinit des
   selecteurs generiques (h1, h2, p, ul, ul li, main) avec des
   valeurs differentes de celles du socle (tailles, marges,
   couleurs) pour une mise en page de lecture plus etroite
   (860px). Fusionner tel quel dans style.css ferait entrer en
   collision ces selecteurs generiques avec les regles homepage -
   fichier separe choisi pour eviter tout effet de bord, plutot
   qu'une fusion nécessitant de scoper chaque regle (portee ici,
   pour une passe finale, plus sure sans nouvel aller-retour de
   test).
   Source verifiee identique au caractere pres entre
   confidentialite.php et privacy.php.
   NE PAS ENCORE LIER (doctrine : liaison en une seule fois en fin
   de chantier CSS/JSON, cf. Etape 3).
   ============================================================ */


  :root {
    --bg: #f7f5f2;
    --txt: #1a1a18;
    --muted: #6b6b65;
    --card: #ffffff;
    --border: #e2ddd8;
    --brand: #1a1a18;
    --accent: #8b6914;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--txt);
    line-height: 1.7;
  }
  a { color: inherit; }
  .wrap { max-width: 860px; margin: auto; padding: 0 24px; }

  header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(247, 245, 242, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }
  .logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
  .logo-mark {
    width: 38px; height: 38px;
    border: 2px solid var(--brand);
    display: grid; place-items: center;
    font-family: 'Libre Baskerville', serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .05em;
  }
  .logo-text { line-height: 1.2; }
  .logo-name { font-weight: 600; font-size: 15px; }
  .logo-sub { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
  .nav-back {
    font-size: 13px; font-weight: 500;
    padding: .45rem 1rem;
    border: 1px solid var(--brand);
    text-decoration: none;
    color: var(--brand);
    transition: background .2s, color .2s;
  }
  .nav-back:hover { background: var(--brand); color: #fff; }

  main { padding: 60px 0 80px; }
  h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 700;
  }
  .subtitle {
    font-size: 14px; color: var(--muted);
    margin: 0 0 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .doctrine-quote {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--accent);
    border-left: 3px solid var(--accent);
    padding: 14px 22px;
    margin: 30px 0;
    background: rgba(139, 105, 20, 0.04);
    line-height: 1.6;
  }
  .doctrine-quote-attr {
    display: block;
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    letter-spacing: .03em;
  }
  h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--brand);
  }
  h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 10px;
  }
  p { margin: 0 0 14px; font-size: 15px; }
  ul { padding-left: 22px; margin: 0 0 16px; }
  ul li { font-size: 15px; margin-bottom: 6px; }
  strong { font-weight: 600; color: var(--brand); }
  .accent-block {
    background: #fff;
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
  }
  .subtraitant {
    background: #fff;
    border: 1px solid var(--border);
    padding: 14px 18px;
    margin: 10px 0;
    border-radius: 2px;
  }
  .subtraitant-nom {
    font-weight: 600;
    color: var(--brand);
    font-size: 15px;
    margin-bottom: 4px;
  }
  .subtraitant-detail {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
  }
  .download-block {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .download-icon {
    width: 40px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    flex-shrink: 0;
  }
  .download-text {
    font-size: 14px;
  }
  .download-text a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
  }
  footer {
    border-top: 1px solid #ccc;
    background: #f5f5f5;
    color: #333;
    padding: 20px 0;
  }
  .footer-inner {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 12px;
  }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { font-size: 13px; text-decoration: underline; color: #6b6b65; }
  .footer-copy { font-size: 13px; color: #555550; }
