/* Site vitrine GiftQuest : mêmes couleurs que l'appli (fond nuit, halos bleu et violet, police Outfit). */
@font-face {
  font-family: "Outfit";
  src: url("/assets/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #070a18; --card: rgba(20, 26, 53, 0.78); --line: #283160; --text: #f1f4ff; --muted: #98a2c8;
  --blue: #3d7bff; --violet: #7c4dff; --gold: #ffc23d; --pink: #ff4d8d; --cyan: #22d3ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 17px/1.6 "Outfit", system-ui, sans-serif; background: var(--bg);
  background-image:
    radial-gradient(60vw 60vw at 0% 0%, rgba(61, 123, 255, 0.28), transparent 70%),
    radial-gradient(50vw 50vw at 100% 35%, rgba(124, 77, 255, 0.22), transparent 70%);
  background-attachment: fixed;
}
a { color: var(--cyan); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px; }
.brand img { width: 40px; height: 40px; }
nav.links a { color: var(--muted); text-decoration: none; margin-left: 22px; font-weight: 500; }
nav.links a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 50px 0 70px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.grad { background: linear-gradient(90deg, #ffe27a, #ffb020); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 20px; margin: 0 0 28px; max-width: 34em; }
.hero-visual { position: relative; text-align: center; }
.hero-visual img.logo { width: min(360px, 80%); filter: drop-shadow(0 30px 60px rgba(124, 77, 255, 0.45)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600;
  text-decoration: none; color: #fff; background: linear-gradient(90deg, var(--blue), var(--violet)); border: 0; font-size: 17px; }
.btn.soft { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.btn[aria-disabled="true"] { cursor: default; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 194, 61, 0.14); color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 16px; }

section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 32px; }

.grid { display: grid; gap: 18px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 24px; backdrop-filter: blur(10px); }
.card h3 { margin: 12px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.i-cyan { background: linear-gradient(135deg, #22d3ee, #3d7bff); }
.i-pink { background: linear-gradient(135deg, #ff4d8d, #8b5cf6); }
.i-gold { background: linear-gradient(135deg, #ffe27a, #ffb020); }
.i-green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.step-num { font-weight: 700; color: var(--gold); font-size: 15px; }

.coins { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; }
.coins img { width: 40px; height: 40px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { color: var(--muted); margin: 10px 0 2px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 40px; color: var(--muted); font-size: 15px; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Pages de texte (mentions légales, CGU, confidentialité) */
.doc { max-width: 820px; margin: 0 auto; padding: 20px 22px 40px; }
.doc h1 { font-size: 40px; margin: 10px 0 6px; }
.doc h2 { font-size: 24px; margin: 34px 0 8px; }
.doc p, .doc li { color: #d5dbf5; }
.doc .updated { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .grid.c4, .grid.c3 { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
}
@media (max-width: 520px) { .grid.c4, .grid.c3 { grid-template-columns: 1fr; } }
