:root {
  --fond: #f5f2ec;
  --surface: #fffdf8;
  --texte: #23201c;
  --doux: #6b645b;
  --trait: #ddd5c8;
  --accent: #8a2f2f;
  --accent-doux: #f3e3df;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #1b1917;
    --surface: #24211e;
    --texte: #ece6dc;
    --doux: #a89f93;
    --trait: #3a3530;
    --accent: #e08a7a;
    --accent-doux: #3a2724;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.6 var(--sans);
}

a {
  color: inherit;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

header.tete {
  padding: 3.5rem 0 2rem;
}

.marque {
  margin: 0 0 1.5rem;
  font: 600 1.4rem var(--serif);
}

.marque em {
  color: var(--accent);
}

h1 {
  margin: 0;
  font: 600 clamp(2.4rem, 7vw, 4.2rem) / 1.05 var(--serif);
}

.chapeau {
  max-width: 680px;
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: var(--doux);
}

h2 {
  margin: 3rem 0 1rem;
  font: 600 1.9rem var(--serif);
}

.principes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.principes li {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
}

.principes strong {
  display: block;
  font: 600 1.3rem var(--serif);
}

.principes span {
  color: var(--doux);
  font-size: 0.92rem;
}

.modules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.module {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: 12px;
  text-decoration: none;
}

a.module:hover {
  border-color: var(--accent);
}

.module .pastille {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-doux);
  color: var(--accent);
  font: 600 1.3rem var(--serif);
}

.module strong {
  font: 600 1.6rem var(--serif);
}

.module .texte {
  color: var(--doux);
  font-size: 0.92rem;
}

.module .etat {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

.module.bientot {
  background: transparent;
  border-style: dashed;
}

.module.bientot .pastille {
  background: var(--trait);
  color: var(--doux);
}

.module.bientot .etat {
  color: var(--doux);
}

footer.pied {
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--trait);
  font-size: 0.85rem;
  color: var(--doux);
}

footer.pied p {
  margin: 0.25rem 0;
}

.texte-long {
  max-width: 760px;
}

.texte-long h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.texte-long h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.5rem;
}

.marque a {
  text-decoration: none;
}
