/* Fredoka Mazing Bold : dérivé de Fredoka, licence SIL Open Font License 1.1 (voir /fonts/OFL.txt) */
@font-face {
  font-family: "Fredoka Mazing";
  src: url("/fonts/fredoka-mazing-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #fffaf5;      /* crème */
  --texte: #35243b;     /* prune */
  --texte-doux: #7a6a80;
  --accent: #a44396;    /* raisin */
  --trait: #eadfe8;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: "Fredoka Mazing", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--texte); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Accueil */
.banniere {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(16px, 6vh, 72px);
}

.accroche {
  max-width: 640px;
  margin: clamp(32px, 6vh, 64px) auto 0;
  text-align: center;
}

.accroche p {
  margin: 0;
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  letter-spacing: 0.01em;
  color: var(--texte);
}

.accroche .a { color: var(--accent); }

/* Pages de texte (mentions légales) */
.texte { max-width: 720px; padding-top: clamp(24px, 6vh, 64px); }
.texte h1 { font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 1em; }
.texte h2 { font-weight: 700; font-size: 1.3rem; margin: 2em 0 0.4em; color: var(--accent); }
.texte p { margin: 0; color: var(--texte-doux); }
.retour { display: inline-block; margin-top: 3em; }

/* Pied de page */
footer {
  margin-top: 64px;
  border-top: 1px solid var(--trait);
  font-size: 0.95rem;
  color: var(--texte-doux);
}
footer .pied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}
footer a { color: var(--texte-doux); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--texte); }

footer .signature { display: inline-flex; align-items: center; gap: 12px; }
footer .logo { display: inline-flex; opacity: 0.9; transition: opacity 0.2s; }
footer .logo:hover, footer .logo:focus-visible { opacity: 1; }
footer .logo img { display: block; width: 32px; height: 32px; }
