:root {
  --fond: #ffffff;
  --texte: #1c1c1e;
  --doux: #6b6b70;
  --trait: #e3e3e6;
  --accent: #0a7aea;
  --encadre: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #111113;
    --texte: #f2f2f4;
    --doux: #9a9aa0;
    --trait: #2c2c30;
    --accent: #4da3ff;
    --encadre: #1b1b1e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  max-width: 44rem;
  background: var(--fond);
  color: var(--texte);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 2.5rem; }
header .marque {
  width: 54px; height: 54px; flex: none; border-radius: 12px;
  background: linear-gradient(135deg, #0a7aea, #7033e6);
  display: grid; place-items: center; color: #fff; font-size: 26px;
}
header h1 { font-size: 1.5rem; margin: 0; letter-spacing: -0.01em; }
header p { margin: 0.15rem 0 0; color: var(--doux); font-size: 0.95rem; }
h2 { font-size: 1.2rem; margin: 2.4rem 0 0.7rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }
p, li { color: var(--texte); }
a { color: var(--accent); }
ul { padding-left: 1.15rem; }
li { margin: 0.35rem 0; }
.encadre {
  background: var(--encadre); border: 1px solid var(--trait);
  border-radius: 12px; padding: 1rem 1.15rem; margin: 1.4rem 0;
}
.encadre p:first-child { margin-top: 0; }
.encadre p:last-child { margin-bottom: 0; }
nav.langues { margin-bottom: 1.5rem; font-size: 0.9rem; }
nav.langues a { margin-right: 0.9rem; }
footer {
  margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--trait);
  color: var(--doux); font-size: 0.88rem;
}
footer a { color: var(--doux); }
code {
  background: var(--encadre); border: 1px solid var(--trait);
  border-radius: 5px; padding: 0.1em 0.35em; font-size: 0.9em;
}

/* ── Page de présentation ─────────────────────────────────────────── */
.hero { text-align: center; padding: 1rem 0 2.5rem; }
.hero img.icone {
  width: 104px; height: 104px; border-radius: 23px; margin-bottom: 1.1rem;
  box-shadow: 0 6px 22px rgba(0,0,0,0.16);
}
.hero h1 { font-size: 2.1rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.hero .accroche { font-size: 1.12rem; color: var(--doux); margin: 0 auto; max-width: 32rem; }
.atouts { display: grid; gap: 1rem; margin: 2.5rem 0; }
@media (min-width: 34rem) { .atouts { grid-template-columns: 1fr 1fr; } }
.atout {
  background: var(--encadre); border: 1px solid var(--trait);
  border-radius: 14px; padding: 1.1rem 1.2rem;
}
.atout h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.atout p { margin: 0; font-size: 0.94rem; color: var(--doux); }
.galerie {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin: 2.5rem 0;
}
.galerie img {
  width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--trait);
}
@media (max-width: 34rem) { .galerie { grid-template-columns: 1fr; } }
.mesure {
  display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center;
  margin: 2.2rem 0; text-align: center;
}
.mesure div strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }
.mesure div span { font-size: 0.85rem; color: var(--doux); }
