/* Missa Est — palette et typographie communes à l'application */
:root {
  --fond: #f7f3ec;
  --surface: #ffffff;
  --texte: #1f1a17;
  --texte-doux: #5b524c;
  --bordure: #d9d0c5;
  --bordeaux: #6b1e2a;
  --bordeaux-clair: #f3e7e8;
  --or: #c99a3b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem 1.5rem 3rem;
  background: var(--fond);
  color: var(--texte);
  font-family: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

main {
  max-width: 40rem;
  margin: 0 auto;
}

.marque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.marque svg {
  width: 5.5rem;
  height: auto;
}

.marque h1 {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--bordeaux);
  letter-spacing: 0.015em;
}

.signature {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bordeaux);
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

.carte {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.accent {
  background: var(--bordeaux-clair);
  border: 1px solid var(--bordeaux);
}

.bouton {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  background: var(--bordeaux);
  color: var(--fond);
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: 0.5rem;
}

.bouton:hover,
.bouton:focus-visible {
  background: #521620;
}

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

a:hover,
a:focus-visible {
  color: var(--or);
}

.a-completer {
  color: var(--texte-doux);
  font-style: italic;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
  font-size: 0.9375rem;
  color: var(--texte-doux);
  text-align: center;
}

footer a {
  margin: 0 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
