/*
 * template-legal.css
 * CSS externalisé depuis template-legal.php pour performance
 * Chargé via wp_enqueue_style dans functions.php
 */
  :root {
    --accent: #fff;
    --accent-dark: #e0e0e0;
    --accent-light: #bdbdbd;
    --bg-card: #181818;
    --text-main: #fff;
    --text-light: #bdbdbd;
    --border-card: #222;
    --bg-page: #111;
    --white: #fff;
  }
  html, body {
    background: var(--bg-page) !important;
    color: var(--text-main);
  }
  .ast-primary-header-bar {
    background: #111111 !important;
  }
  .ast-primary-header-bar,
  .ast-primary-header-bar * {
    color: #fff !important;
    border-color: #fff !important;
  }
  .ast-primary-header-bar a {
    color: #fff !important;
    transition: color 0.18s;
  }
  .ast-primary-header-bar a:hover,
  .ast-primary-header-bar a:focus {
    color: #afafafff !important;
    text-decoration: none;
  }
  .site-logo-img img {
    filter: none;
  }
  .legal-wrap { background: var(--bg-page); color: var(--text-main); }
  .legal-container { max-width: 820px; margin: 0 auto; padding: 32px 24px; }
  .legal-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.7em;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px #000, 0 1px 0 #111;
  }
  .legal-section {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    margin-bottom: 2em;
    padding: 2em 2em 1.5em 2em;
  }
  .legal-section h2 {
    font-size: 1.18em;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px #000;
  }
  .legal-section p {
    color: var(--text-light);
    font-size: 1.08em;
    margin-bottom: 0.2em;
    line-height: 1.7;
  }
  .legal-section a {
    color: #2196f3;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid #2196f3;
    padding-bottom: 2px;
    transition: color 0.18s;
    word-break: break-all;
    white-space: nowrap;
  }
  .legal-section a:hover {
    color: #fff;
    border-bottom: 1.5px solid #fff;
  }
  @media (max-width: 600px) {
    .legal-container {
      padding: 12px 4px;
    }
    .legal-section {
      padding: 1.2em 1em 1em 1em;
      border-radius: 14px;
    }
    .legal-title {
      font-size: 1.3em;
      margin-bottom: 0.5em;
      padding-left: 0.2em;
    }
    .legal-section h2 {
      font-size: 1em;
    }
    .legal-section p {
      font-size: 1em;
      padding: 0 0.2em;
    }
  }
