/* Feuille de style commune au site Alpian. Aucune police ni ressource externe. */

:root {
  color-scheme: light dark;
  --fond: #ffffff;
  --fond-doux: #f3f5f9;
  --texte: #16202e;
  --texte-doux: #4d5a6c;
  --accent: #173363;          /* bleu nuit, comme l'icône de Scan Sensible */
  --bordure: #dde2ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0e1420;
    --fond-doux: #172030;
    --texte: #e8ecf2;
    --texte-doux: #a7b2c2;
    --accent: #8fb0ea;        /* bleu clair, lisible sur fond sombre */
    --bordure: #2a3447;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

main, .entete, .pied {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.entete {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
}
.entete a { color: var(--texte); text-decoration: none; }

main { padding-top: 1.5rem; padding-bottom: 2.5rem; }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--accent); }

.accroche { font-size: 1.2rem; color: var(--texte-doux); }
.discret { color: var(--texte-doux); font-size: 0.95rem; }

.carte {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin: 1.5rem 0;
  border: 1px solid var(--bordure);
  border-radius: 1rem;
  background: var(--fond-doux);
  color: var(--texte);
  text-decoration: none;
}
.carte strong { display: block; font-size: 1.1rem; color: var(--accent); }
.carte span { color: var(--texte-doux); }

.icone {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  flex-shrink: 0;
}
.icone-grande { width: 96px; height: 96px; border-radius: 22%; margin-bottom: 1rem; }

.encadre {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--fond-doux);
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.encadre p:last-child { margin-bottom: 0; }

.pied {
  border-top: 1px solid var(--bordure);
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--texte-doux);
  font-size: 0.9rem;
}
