:root {
  --paper: #f5f1ea;
  --ink: #1e1b18;
  --muted: #6b645c;
  --line: #ddd5c9;
  --accent: #1f4a3d;   /* vert de l'icône */
  --frame: #8a7762;    /* fond de l'app */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

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

/* En-tête */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; }
.top-link {
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.top-link:hover { border-color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 96px;
}
.kicker {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.06;
}
.lead {
  margin: 24px 0 32px;
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 6px;
}
.button:hover { background: var(--accent); }

/* Badges de téléchargement */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  border-radius: 10px;
  text-decoration: none;
  min-width: 170px;
}
.store span {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.store small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.store:hover { background: #1c1c1c; }

/* Captures d'écran */
.phone {
  margin: 0;
  padding: 10px;
  background: #111;
  border-radius: 34px;
  max-width: 300px;
}
.phone img {
  border-radius: 25px;
  width: 100%;
}
.hero-phone { justify-self: center; transform: rotate(1.5deg); }

/* Fonctionnalités */
.feature:first-child { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.feature:nth-child(even) { grid-template-columns: 1fr 300px; }
.feature:nth-child(even) .phone { order: 2; }
.feature-text { max-width: 30em; }
.num {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.feature h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.feature p { margin: 0 0 12px; }
.note { color: var(--muted); font-size: 16px; }

/* Et aussi */
.also { padding-top: 80px; padding-bottom: 40px; }
.also h2 { font-size: 30px; margin-bottom: 20px; }
.also ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40em;
}
.also li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.also strong { font-weight: 600; }

/* Appel final */
.cta {
  padding-top: 64px;
  padding-bottom: 96px;
}
.cta p {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 24px;
}

/* Pied de page */
.foot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.foot-links { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Page légale */
.legal {
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.legal h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.1; }
.legal h2 {
  font-size: 24px;
  margin: 48px 0 12px;
}
.legal p, .legal li { color: #3a352f; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--ink); }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0 16px;
}
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--line);
}
.legal th { font-weight: 600; font-size: 13px; color: var(--muted); }
.legal td:first-child { width: 38%; }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 24px;
    padding-bottom: 64px;
  }
  .hero-phone { max-width: 250px; }
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .feature:nth-child(even) .phone { order: 0; }
  .feature .phone { max-width: 240px; margin: 0 auto; }
  .hero-text, .feature-text { min-width: 0; }
  .lead { font-size: 17px; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 0 0 4px; }
  .legal td:first-child { width: 100%; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; }
}
