/* Charte warm-sand-glow (src/ui/theme.ts). Aucune ressource externe. */
@font-face {
  font-family: 'Nunito';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Nunito_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Nunito_700Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Nunito_900Black.ttf') format('truetype');
}

:root {
  --background: #fbf7f1;
  --surface: #f1e8dc;
  --text: #2a1f17;
  --text-muted: #685a4e;
  --primary: #c2410c;
  --divider: rgba(154, 138, 124, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main,
header,
footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding-top: 32px;
}

.wordmark {
  font-weight: 900;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
}

h1 {
  font-weight: 900;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.15;
  margin: 40px 0 12px;
  text-wrap: balance;
}

h2 {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.3;
  margin: 40px 0 8px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--primary);
  font-weight: 700;
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.lead {
  font-size: 20px;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card strong {
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--divider);
  font-size: 15px;
  color: var(--text-muted);
}

footer a {
  display: inline-block;
  padding: 12px 0;
  margin-right: 20px;
}
