/* Polices de l'appli, servies depuis zestou.fr : aucun appel à un service
   tiers (Google Fonts compris), donc rien à déclarer côté confidentialité. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #fcfaf6;
  --surface: #ffffff;
  --cream: #fff1de;
  --ink: #0d111b;
  --ink-muted: #4a4f59;
  --border: #eae6dc;
  --green: #1f8a5f;
  --orange: #ee8700;
  --link: #0555b7;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

header.site { padding: 1.25rem 0; border-bottom: 1px solid var(--border); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; gap: 0.75rem; }
header.site a.brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none;
  font: 800 1.35rem/1 "Bricolage Grotesque", system-ui, sans-serif;
}
header.site img { width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; }

main.wrap { padding-top: 2.5rem; padding-bottom: 3rem; }

h1, h2 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; line-height: 1.2; }
h1 { font-size: 2rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }

.lead { font-size: 1.2rem; color: var(--ink-muted); margin-top: 0; }
.updated { color: var(--ink-muted); font-size: 0.95rem; }

.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero img { width: 7rem; height: 7rem; border-radius: 1.6rem; box-shadow: 0 8px 24px rgb(238 135 0 / 0.18); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.card.cream { background: var(--cream); border-color: #f6dfbf; }

ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
ul.features li { display: flex; gap: 0.75rem; align-items: flex-start; }
ul.features li::before {
  content: "✓"; flex: none;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 600; font-size: 0.9rem;
  margin-top: 0.1rem;
}

.button {
  display: inline-block;
  background: var(--green); color: #fff;
  font-weight: 600; text-decoration: none;
  padding: 0.85rem 1.4rem; border-radius: 0.8rem;
}

table { width: 100%; border-collapse: collapse; margin: 0.75rem 0; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

.todo { background: #ffe3a8; padding: 0 0.3rem; border-radius: 0.25rem; }

footer.site { border-top: 1px solid var(--border); padding: 1.5rem 0 2.5rem; color: var(--ink-muted); font-size: 0.95rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.5rem; }
