/* Pages d'information (mentions légales, confidentialité, page introuvable). */
:root {
  --ink: #26344a;
  --paper: #fffdf6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 24px 16px 48px;
  background: #d9b684;
  color: var(--ink);
  font: 500 17px/1.55 ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;
}
main {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 24px 28px 28px;
}
h1 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.15;
}
h2 {
  margin: 28px 0 6px;
  font-size: 20px;
}
p,
ul {
  margin: 0 0 10px;
}
ul {
  padding-left: 24px;
}
li {
  margin-bottom: 4px;
}
a {
  color: #1f6fe0;
}
.back {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}
.sub {
  margin-bottom: 18px;
  opacity: 0.7;
  font-weight: 700;
}
.todo {
  background: #ffe08a;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 800;
}
footer {
  max-width: 760px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
footer a {
  color: var(--ink);
}

/* --- Pages de présentation (parents, activités, tapis de jeu) --- */
nav.top {
  max-width: 760px;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 15px;
  font-weight: 800;
}
nav.top a {
  color: var(--ink);
  text-decoration: none;
}
nav.top a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
nav.top .home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 17px;
}
nav.top .home img {
  width: 30px;
  height: 30px;
}
.cta {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 10px 22px;
  background: #34c36b;
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}
.cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}
.lead {
  font-size: 19px;
  font-weight: 600;
}
h3 {
  margin: 18px 0 4px;
  font-size: 17px;
}
figure {
  margin: 18px 0;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 16px;
}
figcaption {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.7;
  text-align: center;
}
table {
  width: 100%;
  margin: 8px 0 14px;
  border-collapse: collapse;
  font-size: 16px;
}
th,
td {
  padding: 7px 10px;
  border-bottom: 2px solid #e8dfc8;
  text-align: left;
  vertical-align: top;
}
thead th {
  border-bottom: 3px solid var(--ink);
}
tbody th {
  width: 34%;
  font-weight: 800;
}
.scroll {
  overflow-x: auto;
}
.note {
  padding: 10px 14px;
  background: #fff3c9;
  border-radius: 12px;
  font-size: 15px;
}
.center {
  text-align: center;
}
@media (max-width: 520px) {
  main {
    padding: 18px 16px 22px;
  }
  h1 {
    font-size: 25px;
  }
}
