:root {
  color-scheme: light;
  --fond: #f8f4ec;
  --surface: rgba(255, 255, 255, 0.9);
  --texte: #252735;
  --secondaire: #656775;
  --accent: #b7592c;
  --accent-clair: #f1c488;
  --bordure: rgba(70, 54, 46, 0.12);
  --ombre: 0 18px 48px rgba(49, 39, 34, 0.08);
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(241, 196, 136, 0.55), transparent 28rem),
    radial-gradient(circle at 92% 42%, rgba(183, 89, 44, 0.12), transparent 24rem),
    var(--fond);
  color: var(--texte);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.page {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(64px, 11vw, 112px);
}

.marque {
  color: var(--texte);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  text-decoration: none;
}

.repere, .surtitre, .numero {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.intro { max-width: 740px; }
.surtitre { margin: 0 0 14px; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 9vw, 82px); line-height: 0.98; }
.chapeau { max-width: 660px; margin-bottom: 30px; color: var(--secondaire); font-size: clamp(17px, 2.5vw, 20px); }

.action {
  display: inline-flex;
  padding: 14px 23px;
  border-radius: 999px;
  background: var(--texte);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--ombre);
}

.action:focus-visible, a:focus-visible { outline: 3px solid var(--accent-clair); outline-offset: 4px; }
.adresse { display: inline-block; margin: 0 0 0 14px; color: var(--secondaire); font-size: 14px; }

.motifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(64px, 10vw, 100px);
}

.motifs article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--bordure);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--ombre);
  backdrop-filter: blur(12px);
}

.motifs h2 { margin: 28px 0 13px; font-size: 27px; line-height: 1.08; }
.motifs p { color: var(--secondaire); }
.motifs a, footer a { color: var(--accent); font-weight: 700; }

.urgence {
  margin-top: 18px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  color: var(--secondaire);
}

.urgence strong { color: var(--texte); }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
  font-size: 13px;
}

@media (max-width: 760px) {
  .motifs { grid-template-columns: 1fr; }
  .motifs article { min-height: auto; }
}

@media (max-width: 520px) {
  .page { padding-top: 22px; }
  .entete { margin-bottom: 58px; }
  .adresse { display: block; margin: 12px 0 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --fond: #0c1120;
    --surface: rgba(25, 32, 55, 0.88);
    --texte: #f0eee9;
    --secondaire: #bdc0cd;
    --accent: #e27d43;
    --accent-clair: #e3ad68;
    --bordure: rgba(255, 255, 255, 0.1);
    --ombre: 0 18px 48px rgba(0, 0, 0, 0.18);
  }

  .urgence { background: rgba(25, 32, 55, 0.6); }
}
