@font-face { font-family: 'Fraunces'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/fraunces-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 900; font-style: italic; font-display: swap; src: url('fonts/fraunces-latin-900-italic.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }

/* Tokens repris de constants/Tokens.ts */
:root {
  --sun: #F8D563; --sun-tint: #FCEFC0; --sun-dark: #8A6A00;
  --coral: #F4714A; --coral-deep: #B8462A; --races: #C2461F;
  --mint: #19814d; --lilac: #C07EEF;
  --paper: #FBF8F2; --paper2: #F3EFE5; --paper3: #EAE4D6;
  --ink: #1C1917; --ink-mid: #44403C; --muted-strong: #6B625A;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 17px; line-height: 1.6; }
a { color: var(--coral-deep); }
a:hover { color: var(--ink); }
strong { font-weight: 800; color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap--text { max-width: 720px; }

/* En-tête */
.site-header { border-bottom: 3px solid var(--coral); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; display: block; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.brand em, .accent { font-style: italic; color: var(--races); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-mid); text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 12px; border-radius: 12px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--paper2); color: var(--ink); }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 64px 0 40px; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 60px); line-height: 1.02; letter-spacing: -1px; margin: 0 0 18px; }
.hero h1 em { color: var(--coral); }
.hero p { font-size: 19px; color: var(--ink-mid); margin: 0 0 24px; max-width: 34em; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px; line-height: 1.25; }
.store small { font-size: 12px; color: #D8D0C0; }
.store b { font-weight: 800; font-size: 16px; }
.hero-mark { justify-self: center; width: min(320px, 70vw); height: auto; filter: drop-shadow(0 18px 30px rgba(28, 25, 23, 0.14)); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 8px 0 64px; margin: 0; list-style: none; }
.feature { background: #fff; border: 1.5px solid var(--paper3); border-radius: 20px; padding: 22px; }
.feature svg { display: block; margin-bottom: 10px; }
.feature h2 { font-family: var(--display); font-weight: 900; font-size: 22px; margin: 0 0 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted-strong); }

/* Pages de texte */
.page { padding-top: 48px; padding-bottom: 64px; }
.page .updated { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-strong); margin: 0 0 6px; font-weight: 800; }
.page h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5vw, 44px); line-height: 1.08; margin: 0 0 20px; }
.page h1 em { color: var(--coral); }
.page h2 { font-family: var(--display); font-weight: 900; font-size: 23px; margin: 36px 0 8px; }
.page h3 { font-size: 17px; font-weight: 800; margin: 20px 0 4px; }
.page p, .page li { color: var(--ink-mid); }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin: 4px 0; }
.summary { background: var(--sun-tint); border-radius: 16px; padding: 16px 20px; color: var(--ink); margin: 0 0 8px; }
.card { background: #fff; border: 1.5px solid var(--paper3); border-radius: 20px; padding: 20px 22px; margin: 16px 0; }
.card h2 { margin-top: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid var(--paper3); border-radius: 14px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--paper3); vertical-align: top; }
th { background: var(--paper2); font-weight: 800; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.button { display: inline-block; background: var(--coral); color: #fff; text-decoration: none; font-weight: 800; border-radius: 14px; padding: 13px 22px; }
.button:hover { background: var(--coral-deep); color: #fff; }

/* Pied de page */
.site-footer { border-top: 1.5px solid var(--paper3); padding: 22px 0 32px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.site-footer a { color: var(--ink-mid); font-weight: 800; text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .copy { margin-left: auto; color: var(--muted-strong); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
  .hero-mark { width: 200px; }
  .features { grid-template-columns: 1fr; }
  .site-footer .copy { margin-left: 0; width: 100%; }
}
