/* ═════════════════════════════════════════════════════════════
   CONTENT.CSS
   Contenu principal des pages : typographie (h2, h3, p),
   sections, blocs d'instruction/description, section contact/crédits.
   ═════════════════════════════════════════════════════════════ */

/* ─ CONTENEUR PRINCIPAL ────────────────────────────────────────– */
main {
  max-width: 1000px; /* Largeur maximale du contenu */
  width: 100%;
  margin: 0 auto; /* Centré horizontalement */
  padding: var(--spacing-md) var(--spacing-xxl); /* 16px haut/bas, 40px côtés */
  box-sizing: border-box;
}

/* ─ SECTIONS ───────────────────────────────────────────────────– */
section {
  margin-bottom: var(--spacing-xxl); /* 40px d'écart après chaque section */
  padding-bottom: var(--spacing-xl); /* 32px d'espace interne */
  border-bottom: var(--border); /* Ligne grise de séparation */
}

section:last-child {
  border-bottom: none; /* Pas de ligne sous la dernière section */
}

/* ─ TITRES H2 (sous-sections) ──────────────────────────────────– */
h2 {
  font-family: var(--font-family-display); /* Police Playfair élégante */
  font-size: 1.5em; /* 24px */
  font-weight: 600; /* Semi-gras */
  margin-bottom: var(--spacing-md); /* 16px d'écart avec le contenu */
  color: var(--color-header); /* Blanc cassé */
  letter-spacing: 0.01em; /* Très léger espacement */
  line-height: 1.3; /* Espacé pour lisibilité */
}

/* ─ TITRES H3 (petits titres) ──────────────────────────────────– */
h3 {
  font-size: var(--font-size-sm); /* Petit (14px) */
  font-weight: var(--font-weight-semibold); /* Semi-gras */
  margin: var(--spacing-xxl) 0 var(--spacing-sm); /* 40px avant, 8px après */
  color: var(--color-text-tertiary); /* Gris moyen */
  text-transform: uppercase; /* MAJUSCULES */
  letter-spacing: 0.1em; /* Très espacé */
}

/* ─ PARAGRAPHES ────────────────────────────────────────────────– */
article p {
  font-size: 0.95em; /* Très légèrement plus petit que la base */
  margin: var(--spacing-md) 0; /* 16px avant/après */
  color: var(--color-text-secondary); /* Gris clair */
  line-height: 1.8; /* Très spacieux pour lisibilité */
}

/* ─ META : SOURCE/ATTRIBUTION ──────────────────────────────────– */
.source {
  margin-top: var(--spacing-xl); /* 32px d'écart */
  font-size: var(--font-size-xs); /* Très petit (12px) */
  color: var(--color-text-quaternary); /* Gris foncé */
  text-align: right; /* Aligné à droite */
  letter-spacing: 0.04em; /* Très légèrement espacé */
}

/* ─ BLOCS SPÉCIAUX (instruction, description) ──────────────────– */
.instruction,
.description {
  font-size: 0.9em; /* Légèrement réduit */
  padding: var(--spacing-xl) var(--spacing-lg); /* 32px haut/bas, 24px côtés */
  background: var(--color-bg-tertiary); /* Fond gris surlighté */
  color: var(--color-text-secondary); /* Texte clair */
  margin: var(--spacing-xxl) 0; /* 40px avant/après */
  border-left: 2px solid var(--color-accent); /* Barre bleue à gauche */
  border-radius: var(--border-radius); /* Coins arrondis */
  line-height: 1.8; /* Bien espacé */
}

/* ─ SECTION CONTACT ────────────────────────────────────────────– */
.contact-section {
  margin: var(--spacing-md) auto; /* 16px avant/après, centré */
  max-width: 1000px;
  width: 100%;
  padding: 0 var(--spacing-xxl); /* 40px côtés */
  box-sizing: border-box;
}

/* ─ SECTION CRÉDITS ────────────────────────────────────────────– */
.credits-section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-xxl); /* 32px haut/bas, 40px côtés */
  border-top: var(--border); /* Ligne grise de séparation */
  box-sizing: border-box;
}

.credits-section h2 {
  font-family: var(--font-family-base); /* Police standard (pas élégante) */
  font-size: var(--font-size-xs); /* Très petit (12px) */
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--spacing-md);
}

.credits-section p {
  font-size: var(--font-size-sm);
  color: var(--color-text-quaternary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.credits-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.credits-section ul li {
  font-size: var(--font-size-sm);
  color: var(--color-text-quaternary);
  padding-left: var(--spacing-md);
  border-left: 2px solid var(--color-border);
}

.credits-section ul li strong {
  color: var(--color-text-tertiary);
}

.credits-section a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color var(--transition);
}

.credits-section a:hover {
  color: var(--color-accent);
}

.credits-note {
  font-size: var(--font-size-xs) !important;
  font-style: italic;
  color: var(--color-text-quaternary);
  opacity: 0.7;
}