/* Site public — mêmes règles que l'app : Poppins, bleu, aplats.
   Zéro ombre, zéro dégradé : une idée par écran, beaucoup d'air. */
:root {
  --blue: #1A56DB;
  --blue-dark: #1648B8;
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F8FAFC;
  --tint: #EEF4FF;
  --green: #16A34A;
  --radius: 20px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 400 17px/1.6 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ── Barre du haut ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 14px; font: 600 16px 'Poppins', sans-serif;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--blue); border-color: #C7D7FE; background: #fff; }
.btn-ghost:hover { border-color: var(--blue); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; }

/* ── Héros ─────────────────────────────────────────────────── */
.hero { padding: 72px 0 0; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin: 22px auto 0; max-width: 620px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); }
.hero .actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero .stage { margin-top: 56px; display: flex; justify-content: center; align-items: flex-end; gap: 28px; }

/* Téléphone : cadre plat (pas d'ombre), capture réelle dedans. */
.phone {
  width: 280px; border: 10px solid var(--ink); border-radius: 44px; overflow: hidden;
  background: var(--ink); flex: none;
}
.phone img { width: 100%; height: auto; border-radius: 34px; }
.phone.small { width: 230px; border-width: 8px; border-radius: 38px; }
.phone.small img { border-radius: 30px; }
.hero .phone.side { margin-bottom: 0; opacity: .95; }
.hero-cut { height: 64px; background: #fff; border-top: 1px solid var(--line); margin-top: -1px; }

/* ── Moments (une idée par écran) ──────────────────────────── */
.moment { padding: 110px 0; border-top: 1px solid var(--line); }
.moment:nth-of-type(even) { background: var(--soft); }
.moment .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.moment.flip .copy { order: 2; }
.moment .kicker { font-size: 14px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.moment h2 { margin-top: 12px; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.08; }
.moment p { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 470px; }
.moment .visual { display: flex; justify-content: center; }

/* ── Et aussi ──────────────────────────────────────────────── */
.more { padding: 110px 0; border-top: 1px solid var(--line); }
.more h2, .price h2, .faq h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.1; }
.grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { margin-top: 18px; font-size: 1.1rem; font-weight: 600; }
.tile p { margin-top: 6px; font-size: .97rem; color: var(--muted); line-height: 1.55; }

/* ── Prix ──────────────────────────────────────────────────── */
.price { padding: 110px 0; background: var(--soft); border-top: 1px solid var(--line); }
.offer { margin: 48px auto 0; max-width: 520px; border: 1.5px solid var(--blue); border-radius: 28px; background: #fff; padding: 40px 36px; text-align: center; }
.offer .gift { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--tint); color: var(--blue); font-weight: 600; font-size: 14px; }
.offer .amount { margin-top: 22px; color: var(--ink); font-size: 3.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.offer .amount small { font-size: 1.1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.offer .alt { margin-top: 10px; color: var(--muted); }
.offer ul { list-style: none; padding: 0; margin: 28px 0 32px; text-align: left; display: grid; gap: 12px; }
.offer li { display: flex; gap: 12px; align-items: flex-start; }
.offer li svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.offer .btn { width: 100%; }

/* ── Affiliation ───────────────────────────────────────────── */
.partner { padding: 90px 0; border-top: 1px solid var(--line); }
.partner .box { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.partner h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.15; }
.partner p { margin-top: 12px; color: var(--muted); max-width: 560px; }
.partner .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { padding: 110px 0; border-top: 1px solid var(--line); }
.faq .list { margin: 48px auto 0; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ── Dernier appel ─────────────────────────────────────────── */
.final { padding: 120px 0; text-align: center; background: var(--blue); }
.final h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.08; }
.final p { margin-top: 16px; color: rgba(255,255,255,.82); font-size: 1.15rem; }
.final .actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .btn-primary { background: #fff; color: var(--blue); }
.final .btn-primary:hover { background: var(--tint); }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.final .btn-ghost:hover { border-color: #fff; }

/* ── Pied de page ──────────────────────────────────────────── */
.foot { padding: 56px 0 40px; background: var(--ink); color: rgba(255,255,255,.66); font-size: 14px; }
.foot .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: rgba(255,255,255,.8); }
.foot a:hover { color: #fff; }
.foot .bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── Pages légales ─────────────────────────────────────────── */
.doc { padding: 64px 0 110px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; line-height: 1.1; }
.doc .date { margin-top: 10px; font-size: 14px; color: var(--muted); }
.doc .intro { margin-top: 24px; font-size: 1.1rem; }
.doc section { margin-top: 36px; }
.doc h2 { font-size: 1.15rem; font-weight: 600; }
.doc section p { margin-top: 8px; color: var(--text); }
.doc .back { font-size: 15px; font-weight: 500; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav-links.open .btn { margin-top: 16px; color: #fff; border: 0; }
  .menu-btn { display: block; }
  .hero { padding-top: 48px; }
  .hero .stage { gap: 0; }
  .hero .phone.side { display: none; }
  .phone { width: 250px; }
  .moment { padding: 80px 0; }
  .moment .wrap { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .moment.flip .copy { order: 0; }
  .moment p { margin-left: auto; margin-right: auto; }
  .more, .price, .faq { padding: 80px 0; }
  .grid { grid-template-columns: 1fr; }
  .offer { padding: 32px 22px; }
  .final { padding: 90px 0; }
  .btn { width: 100%; }
  .hero .actions, .final .actions { flex-direction: column; }
  .nav .btn-small, .partner .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
