:root {
  --pink: #FF2D55;
  --pink-deep: #E0245E;
  --pink-soft: #FFE4EB;
  --ink: #1c1c1e;
  --ink-soft: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #FFF5F8;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --ink-soft: #a1a1a6;
    --bg: #0b0b0d;
    --bg-alt: #16090e;
    --card: #1c1c1e;
    --line: rgba(255, 255, 255, 0.1);
    --pink-soft: #3a0f1c;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { color: var(--pink); }
.top nav { display: flex; gap: 20px; font-size: 14px; }
.top nav a { color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 600; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-store { background: #000; color: #fff; }
@media (prefers-color-scheme: dark) { .btn-store { background: #fff; color: #000; } }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.btn-store b { display: block; font-size: 18px; line-height: 1.15; }
.btn-ghost { color: var(--pink); border: 1.5px solid var(--pink); }

/* ---------- Accueil ---------- */
.hero {
  padding: 72px 0 40px;
  background: radial-gradient(120% 90% at 50% 0%, var(--pink-soft) 0%, var(--bg) 62%);
  text-align: center;
}
.hero .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 26px; box-shadow: 0 18px 40px -14px rgba(255, 45, 85, .55); }
.hero h1 { font-size: clamp(40px, 8vw, 68px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.lead { font-size: clamp(18px, 2.6vw, 22px); color: var(--ink-soft); max-width: 620px; margin: 18px auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }

.shots { display: flex; justify-content: center; gap: 22px; padding: 30px 0 70px; }
.phone {
  width: 230px; flex-shrink: 0;
  border-radius: 36px; padding: 7px; background: #111;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; }
.phone.mid { transform: translateY(-24px); }

section { padding: 70px 0; }
section.alt { background: var(--bg-alt); }
.kicker { color: var(--pink); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h2.title { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 8px 0 14px; }
p.sub { color: var(--ink-soft); font-size: 18px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card .emoji { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 30px; }
.promise div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.promise div::before { content: "✓"; color: #fff; background: var(--pink); border-radius: 50%; width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }

.cta-end { text-align: center; }
.cta-end p.sub { margin: 0 auto 28px; }

/* ---------- Pages de texte (légal, assistance) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 52px 20px 70px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.015em; }
.doc .updated { color: var(--ink-soft); font-size: 13px; margin: 8px 0 26px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 16px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 5px 0; }
.doc .box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 16px 0; }
.doc dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; }
.doc dt { color: var(--ink-soft); }
@media (max-width: 560px) { .doc dl { grid-template-columns: 1fr; } .doc dd { margin-bottom: 8px; } }
.todo { background: #FFE58F; color: #5a4200; padding: 0 4px; border-radius: 4px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--pink); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ol { margin-top: 10px; color: var(--ink-soft); }
details ol { padding-left: 22px; }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink-soft); }

@media (max-width: 720px) {
  .top nav a.hide-sm { display: none; }
  .hero { padding-top: 48px; }
  .shots { gap: 12px; padding-bottom: 50px; }
  .phone { width: 31%; border-radius: 22px; padding: 4px; }
  .phone img { border-radius: 18px; }
  .phone.mid { transform: translateY(-12px); }
  section { padding: 54px 0; }
}
