@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #241a4f;
  --ink-soft: #5a4f86;
  --paper: #f8f4ff;
  --sky: #52c4ff;
  --violet: #a27bff;
  --orchid: #e55bf0;
  --rose: #ff6fb5;
  --peach: #ff9f7a;
  --line: rgba(36, 26, 79, 0.12);
  --display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --grad: linear-gradient(120deg, var(--sky) 0%, var(--violet) 35%, var(--orchid) 65%, var(--rose) 85%, var(--peach) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Bricolage", ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration-color: var(--orchid); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: #7a3bd9; }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

/* ---------- Accueil ---------- */

.hero {
  position: relative;
  min-height: min(88svh, 900px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem 3rem;
  overflow-x: clip;
  text-align: center;
  isolation: isolate;
}

/* halo coloré repris du dégradé de l'icône */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(120vw, 1100px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  background:
    radial-gradient(closest-side at 30% 35%, rgba(82, 196, 255, 0.45), transparent),
    radial-gradient(closest-side at 70% 40%, rgba(229, 91, 240, 0.38), transparent),
    radial-gradient(closest-side at 55% 75%, rgba(255, 159, 122, 0.35), transparent);
  filter: blur(40px);
}

.hero-inner { max-width: 46rem; }

.logo {
  display: block;
  width: clamp(150px, 30vw, 230px);
  aspect-ratio: 1;
  margin: 0 auto 2.25rem;
  border-radius: 23%;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(122, 59, 217, 0.55),
    0 12px 24px -12px rgba(36, 26, 79, 0.35);
  animation: arrive 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.logo img { width: 100%; height: 100%; display: block; transform: scale(1.03); }

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.25rem, 18vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.95;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
  animation: rise 700ms 250ms ease-out both;
}

.slogan {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  animation: rise 700ms 400ms ease-out both;
}

.stores {
  margin-top: 2.5rem;
  animation: rise 700ms 550ms ease-out both;
}
.stores p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 1.1rem;
}
/* Badges officiels non modifiés, même hauteur, hauteur min. 40 px (Apple) */
.badges img { display: block; width: auto; height: 52px; }


.slogan em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes arrive { from { opacity: 0; transform: scale(0.6) rotate(-6deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 560px) {
  .hero { min-height: auto; padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .logo, .wordmark, .slogan, .stores { animation: none; }
}

.about {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  font-size: 1.15rem;
}
.about p { margin: 0 0 1.1em; }
.about .lead { font-size: 1.4rem; line-height: 1.45; font-weight: 500; }

.editor {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Pages légales ---------- */

.page-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.35rem;
}
.page-head img { width: 44px; height: 44px; border-radius: 23%; }

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.legal h1, .legal h2, .page-head { font-family: var(--display); }
.legal h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1rem 0 0.5rem;
}
.legal .updated { color: var(--ink-soft); margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.4rem; font-weight: 600; margin: 2.5rem 0 0.6rem; letter-spacing: -0.01em; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 0.7rem; }
}

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1.5px solid var(--line);
  padding: 2rem 1.5rem 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.site-footer .inner {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer p { margin: 0; }
