/* Pages publiques QuizMaroc — palette reprise du thème de l'APP MOBILE
   (src/mobile/src/shared/theme/theme.ts : primary vert, secondary marine,
   tertiary ambre), pour que le site vitrine et les pages légales soient
   raccord avec l'application. "Geist" n'est chargée nulle part : le rendu
   retombe sur la pile système, donc aucune dépendance réseau ici. */
:root {
  --background: #f8fbf8;      /* colors.background */
  --foreground: #071a43;      /* colors.navy */
  --muted-foreground: #48556e;/* colors.navyMuted */
  --card: #ffffff;            /* colors.surface */
  --border: #dfe4ef;          /* colors.border */
  --accent: #168437;          /* colors.primary */
  --accent-strong: #08732f;   /* colors.primaryDark */
  --accent-soft: #edf8ef;     /* colors.primaryLight */
  --secondary: #173b67;       /* colors.secondary */
  --secondary-soft: #eaf0f7;  /* colors.secondaryLight */
  --tertiary: #f2aa18;        /* colors.tertiary */
  --tertiary-soft: #fff3d5;   /* colors.tertiaryLight */
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "rlig" 1, "calt" 1;
  line-height: 1.65;
  margin: 0;
  padding: clamp(20px, 5vw, 48px) clamp(16px, 5vw, 24px);
}

.page {
  margin: 0 auto;
  max-width: 760px;
}

/* En-tête : logo cliquable + titre de la page */
.masthead {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 20px;
}

.masthead img {
  display: block;
  height: auto;
  max-width: 200px;
  width: 200px;
}

/* Bannière commune à toutes les pages : logo → accueil + navigation. */
.masthead .logo-link {
  display: block;
  line-height: 0;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 32px 0 8px;
}

h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.6em;
}

.updated {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin: 0 0 8px;
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 650;
}

/* Bloc mis en avant : la marche à suivre d'une demande de suppression. */
.steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  margin: 24px 0;
  padding: 4px 24px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.9rem;
  margin-top: 56px;
  padding-top: 20px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
