:root {
  --cream: #fbf3ee;
  --paper: #ffffff;
  --navy: #1c2949;
  --muted: #5d6478;
  --accent: #e05a4f;
  --accent-soft: #fbe3df;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: "Iowan Old Style", "Palatino", Georgia, serif; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .3px; }
.brand img { width: 40px; height: auto; }
.nav-cta { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent); }

/* Bouton App Store */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  padding: 14px 26px 14px 22px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28, 41, 73, .25);
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.store small { display: block; font-size: 12px; opacity: .8; line-height: 1.1; }
.store strong { display: block; font-size: 22px; line-height: 1.15; font-weight: 600; }
.store-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Haut de page */
.hero { padding: 40px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin-bottom: 18px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); margin-bottom: 30px; max-width: 30em; }
.hero .phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 260px; border-radius: 38px; overflow: hidden;
  border: 10px solid #111; background: #111;
  box-shadow: 0 30px 60px rgba(28, 41, 73, .3);
}
.phone img { display: block; width: 100%; height: auto; }
.phone.back { left: 0; top: 40px; transform: rotate(-6deg); opacity: .95; }
.phone.front { right: 0; top: 0; transform: rotate(4deg); }

/* Sections */
section { padding: 70px 0; }
section.alt { background: var(--paper); }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin-bottom: 14px; text-align: center; }
.sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 auto 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--cream); border-radius: 22px; padding: 28px; }
section.alt .step { background: var(--cream); }
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
.gallery figure { text-align: center; }
.gallery .phone { position: static; width: 100%; max-width: 260px; transform: none; }
.gallery figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

.quality { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.q { background: var(--paper); border-radius: 20px; padding: 24px; }
.q b { display: block; font-size: 18px; margin-bottom: 4px; }
.q span { color: var(--muted); font-size: 15px; }

.privacy-band { text-align: center; }
.privacy-band .lock {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: inline-grid; place-items: center; font-size: 26px; margin-bottom: 16px;
}

.final { text-align: center; padding: 80px 0; }
.final h2 { margin-bottom: 26px; }

footer { padding: 34px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-left: 18px; }

/* Page de texte (confidentialité) */
.doc { max-width: 720px; margin: 0 auto; padding: 30px 20px 80px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc .date { color: var(--muted); margin-bottom: 30px; }
.doc h2 { text-align: left; font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 22px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .phones { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .steps, .gallery { grid-template-columns: 1fr; }
  .quality { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .quality { grid-template-columns: 1fr; }
  .hero .phones { height: 400px; }
  .phone { width: 180px; border-width: 8px; border-radius: 30px; }
  footer a { margin-left: 0; margin-right: 18px; }
}
