/* ===== Couleurs — modifiez ici pour changer le thème ===== */
:root {
  --bg: #f7f3ee;
  --surface: #ffffff;
  --surface-hover: #fbf7ff;
  --text: #221c29;
  --muted: #6b6373;
  --border: #e7e0d8;
  --purple: #8a0bc4;
  --purple-dark: #6f0a9e;
  --purple-tint: #f3e6fa;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  padding: 48px 16px 40px;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Nom ===== */
.name {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 2.6rem);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 28px;
}

/* ===== Bannière d'offre ===== */
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(34, 28, 41, 0.04), 0 6px 20px rgba(34, 28, 41, 0.05);
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 6px;
}

.hero__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1.15;
}

.hero__subtitle {
  margin-top: 6px;
  color: var(--muted);
}

.hero__cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--purple);
  transition: background 0.15s ease;
}
.hero__cta:hover { background: var(--purple-dark); }
.hero__cta:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.hero__note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== Boutons ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  min-height: 60px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.link:hover { background: var(--surface-hover); border-color: #d6c3e3; }
.link:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.link__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border-radius: 10px;
  background: var(--purple-tint);
}

.link__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link__title { font-weight: 600; }
.link__subtitle { font-size: 0.85rem; color: var(--muted); }

.link__arrow { font-size: 1.4rem; color: var(--muted); line-height: 1; }

.link__badge {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--purple-tint);
  color: var(--purple);
}

/* Bouton mis en avant */
.link--featured {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.link--featured:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.link--featured .link__icon { background: rgba(255, 255, 255, 0.16); }
.link--featured .link__subtitle { color: rgba(255, 255, 255, 0.82); }
.link--featured .link__arrow { color: #fff; }
.link--featured .link__badge { background: #fff; color: var(--purple); }

/* ===== Réseaux ===== */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.socials:empty { display: none; }

.social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social svg { width: 20px; height: 20px; }
.social:hover { color: var(--purple); border-color: var(--purple); }
.social:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.footer {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 400px) {
  body { padding-top: 32px; }
  .hero__cta { display: block; }
}
