/* =========================================
 *  1. VARIABLES & THEME (Tokens)
 *  ========================================= */
:root {
  --accent: #ff6233;

  /* Light Theme (Défaut) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --text: #111319;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow-1: 0 10px 26px rgba(0,0,0,.06);

  --radius: 16px;
}

/* Dark Theme */
:root[data-theme="dark"] {
  --bg: #0f131b;
  --surface: #0b0e14;
  --surface-2: #0f141e;
  --text: #e8edf5;
  --muted: #9aa4b2;
  --border: #1c2230;
  --shadow-1: 0 16px 36px rgba(0,0,0,.45);
}

/* =========================================
 *  2. BASE & LAYOUT
 *  ========================================= */

body.static-page {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--surface-2);
  color: var(--text);
  margin: 0;
  overflow-x: hidden;
}

/* Layout container */
.page-wrapper {
  width: 100%;
  /* Petit padding pour ne pas coller aux bords sur mobile */
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Carte centrale (La classe .page) */
.static-page .page {
  max-width: 900px;
  margin: clamp(2.5rem, 6vw, 4rem) auto;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

/* =========================================
 *  3. TYPOGRAPHIE
 *  ========================================= */

.static-page h1,
.static-page h2,
.static-page h3 {
  color: var(--text);
  font-weight: 800;
}

.static-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.static-page p {
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--text);
}

.static-page p:last-child {
  margin-bottom: 0;
}

/* =========================================
 *  4. SPÉCIFIQUE À PROPOS
 *  ========================================= */

.static-a-propos .ap-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.static-a-propos .ap-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin: 0;
  color: var(--text);
}

.static-a-propos .ap-content {
  font-size: 1.05rem;
}

.static-a-propos .ap-content p {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted); /* Texte légèrement atténué pour la lecture */
}

.static-a-propos .ap-content strong {
  color: var(--text); /* Le gras ressort bien en couleur principale */
  font-weight: 700;
}
